Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

max execution time of an sql job

Status
Not open for further replies.

Dracosms

IS-IT--Management
Feb 26, 2004
21
BE
Hi,

I've scheduled a job (executing a DTS).
Is there any way I can set a maximum amount of time a job like that can "execute" ? I mean : If the job isn't done after 15 minutes, It should stop.

Is this possible ? How ?

Greets,

Dracosms
 
You would need to write another job, that checks the most recent start time, and if the specified time has enablsed and the job is still running stop the job.

However wouldn't stopping this job cause problems. It would probably be better to try to speed up the job, rather than just stop the job.

Denny
MCSA (2003) / MCDBA (SQL 2000)

--Anything is possible. All it takes is a little research. (Me)

[noevil]
(My very old site)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top