Asked By Tibor Karaszi
15-Feb-08 02:30 PM

I'm afraid not. Who would decide when a certain time period is "too long"? 5 minutes? 5 hours? 5
minutes might be too long for something which should be very quick, while 5 hours is not enough for
a large backup.
There could be some functionality where you could specify a limit for the job and Agent will warn
you if this limit is exceeded. But I'm afraid there isn't. Considering wishing for it at
connect.microsoft.com.
You can roll your own of course. I.e. write code that regularly check your jobs and see if its still
executing and have your own limits.
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi
When I said the job hangs, I mean a step in the job is not completed.
Say for example, if it run an exe and the exe never completes. I
wonder if there is anything in SQL Server which will send email to
operator if a job doesn't complete in a certain period of time.
Thanks
On Feb 14, 3:49 pm, "Tibor Karaszi"