dbTalk Databases Forums  

running status for jobs

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss running status for jobs in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Andy.H.Kwok@gmail.com
 
Posts: n/a

Default running status for jobs - 09-21-2007 , 04:34 AM






Hello all,

I would like to know how to how to know through sql queries if a job
that was processed is still running...

I tried to use msdb..systasks but it doesn't seem to help (status not
running and status running only).

Thanks in advance for your answer.

Andy


Reply With Quote
  #2  
Old   
Jack Vamvas
 
Posts: n/a

Default Re: running status for jobs - 09-21-2007 , 09:05 AM






Hi

You could use "master.dbo.xp_sqlagent_enum_jobs"
--

Jack Vamvas
___________________________________
Need an IT job? http://www.ITjobfeed.com/SQL




<Andy.H.Kwok (AT) gmail (DOT) com> wrote

Quote:
Hello all,

I would like to know how to how to know through sql queries if a job
that was processed is still running...

I tried to use msdb..systasks but it doesn't seem to help (status not
running and status running only).

Thanks in advance for your answer.

Andy




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.