Welcome Guest Search | Active Topics | Members | Log In | Register

Re: Stop Scheduled jobs from another jobs Options · View
Aaron Bertrand [SQL Server MVP]
Posted: Monday, October 22, 2007 7:42:30 AM


Rank: Guest
Groups: Guest

Joined: 9/17/2007
Posts: 11,670
Points: -1,200
Date parsed: 22/10/2007 07:42:30
Date: Mon, 22 Oct 2007 11:42:30 -0400

You can exec sp_help_job and look at current_execution_status.
To stop a job look at sp_stop_job in Books Online.



"Abel" <Abel@discussions.microsoft.com> wrote in message
news:0C4830A1-7C86-45A3-A7D4-1DDCE0E2B8A7@microsoft.com...
> Hi,
> I've scheduled Jobs that sometimes hangs (SQL2005). I want create another
> job that checks these jobs and stop them if needed.
> Is possible to know if jobs are running with a SQL sentence? How stop and
> disable jobs with SQL sentence?
>
> Regards,
> Abel.
>


Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net version 1.9.1.1 (NET v2.0) - 9/10/2007
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.
This page was generated in 0.028 seconds.