10

So, it seems that it is not possible to set the timeout for each single step in a SQL Server job (article from StackExchange).

MSDN points out that you can of course set the Agent timeout:

Questions

  1. How does Agent time-out work?
  2. Is there any other way (preferably by configuration) to setup the single step timeout?
  3. Is there any other way (preferably by configuration) to setup the whole job timeout?

1 Answer 1

4

(1) is referring to the service itself. If I go stop the SQL Server Agent service this value specifies how long it will wait for any active job to complete before forcible stopping it (the service) so it can shutdown.

With regards to (2) and (3), you would have to setup some monitoring script/job that tracks that information and performs an action based on your criteria.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.