Need help determining if a job is running

  • I have a webpage that displays job historys of the jobs on the SQL Server box.  However, I would like to add/highlight any job that is currently running.  

     

    When you look in jobs in Enterprise manager you can see the status is "running" ot "not running."  How/where does SQL Server look to get that?  I can't find it anywhere in SYSJOBS or SYSJOBSHISTORY.

     

    Thanks,

    -derek

     

     

  • You can find all data needed to create a IsRunning function at this post.

    Sorry to waste space.

    -derek

     

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply