Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Stopping job if running after 7 a.m.

Author  Topic 

dawicki
Starting Member

1 Post

Posted - 2008-03-31 : 15:42:30
I'm trying to stop a SQL Server Agent Backup job if it is running past 7 a.m. Can you reply with your ideas.

Thanks.

Deb Dawicki
Sansum Clinic
System Administrator III
805-692-6422

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2008-03-31 : 22:12:19
You can get job status with msdb..sp_help_job, stop it with msdb..sp_stop_job if necessary.
Go to Top of Page
   

- Advertisement -