![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Jeffrey -- I have no help for you, but I have exactly the same problem. I'm hoping that someone can step up and help -- it would be incredibly handy to be able to set a timeout on a SQL Server Agent Job. Chris |
#5
| |||
| |||
|
|
"Chris" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message news:<515BCE6B-8580-45E1-BC1D-321D7AC2EB5A (AT) microsoft (DOT) com>... Jeffrey -- I have no help for you, but I have exactly the same problem. I'm hoping that someone can step up and help -- it would be incredibly handy to be able to set a timeout on a SQL Server Agent Job. Chris Wow, this is quite a shame. Has anyone run into this issue and solved it? |
#6
| |||
| |||
|
|
Two ways to approach this- [snip] I would go with option 1, and use option 2 as a fallback. |
#7
| |||
| |||
|
|
Thank you very much for this, those options make sense. As near as I can tell, the hang-up seems to relate to my connection (via a distributed query) to an external Oracle Database at another location. In every case, stopping and restarting the job has resolved the issue. So, as far as you know, there is no internal method of setting a time limit on a scheduled job? |
|
It would be necessary to write a process that trolls the job activity and reports/handles hung jobs? I'm afraid so. |
#8
| |||
| |||
|
|
I can send you a script for my system. You can then just add some logic to determine what to do when it detects a long running job. Is the email shown as your posting address valid? |
#9
| |||
| |||
|
|
Thank you very much for this, those options make sense As near as I can tell, the hang-up seems to relate to my connectio (via a distributed query) to an external Oracle Database at anothe location. In every case, stopping and restarting the job has resolve the issue So, as far as you know, there is no internal method of setting a tim limit on a scheduled job |
|
It would be necessary to write a proces that trolls the job activity and reports/handles hung jobs |
#10
| |||
| |||
|
|
Darren, May I request that script as well. I recently moved my databases and DTS to a new box and every few days my job just hangs, but looking at the log it appears that it doesn't even begin to process. Thanks Zev |
![]() |
| Thread Tools | |
| Display Modes | |
| |