Dan,
This is a bit of a sledge hammer but....
You could also get a list of running jobs at 6:00 AM (pick your target
time here), if any of the jobs are the ones created by the maint plan,
then execute a sp_stop_job against it. It will finish up the last
piece it was working on but then should die. if you had to you could
just execute a sp_stop_job for each of the jobs in the maint plan.
Not sure if it will fail or jot if the job is not running. Test test
test!
http://msdn.microsoft.com/en-us/library/aa260308%28SQL.80%29.aspx
my 2 cents!
David Hay
On Mar 11, 9:38 am, Dan Holmes wrote:
> I have a maintenance plan that runs every night. Sometimes it takes too long to run and it affects production for the
> following morning. I can see and kill the process it is currently running but then the next task starts and i have to
> kill that too. How can i stop the thing once it has started?
>
> thanks
>
> sqlserver 2005 >> Stay informed about: how do i stop a maintenance plan?