SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SQL Jobs monitoring tool


SQL Jobs monitoring tool

Author
Message
iRobot
iRobot
Valued Member
Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)

Group: General Forum Members
Points: 62 Visits: 110
We have a large number of jobs running on SQL DB servers. Is there a tool to find out what is actually running and what they all do?
Management want all this to be documented. We are using sql server 2008r2.
Any thoughts?
ultimate sql
ultimate sql
SSC Veteran
SSC Veteran (231 reputation)SSC Veteran (231 reputation)SSC Veteran (231 reputation)SSC Veteran (231 reputation)SSC Veteran (231 reputation)SSC Veteran (231 reputation)SSC Veteran (231 reputation)SSC Veteran (231 reputation)

Group: General Forum Members
Points: 231 Visits: 256
This might answer your question

[url=http://www.sqlservercentral.com/Forums/Topic1292959-148-1.aspx#bm1293762][/url]

or this one

http://www.sqlservercentral.com/Forums/Topic1085386-391-1.aspx#bm1085485

Almost all database monitoring tools provide interface for Job monitor.



Fahim Ahmed
Knowledge is a journey, not a destiny
iRobot
iRobot
Valued Member
Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)

Group: General Forum Members
Points: 62 Visits: 110
Ahmed,

I am not a DBA and haven't actually used any of those tools. But I came across some great queries which will provide SQL Agent Jobs and schedules related information.

http://www.mssqltips.com/sqlservertip/2561/querying-sql-server-agent-job-information/

If I could just set up some interface wouldn't it do the job?
What would be your input on this? Please advise.
BLOB EATER
BLOB EATER
SSCrazy
SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)

Group: General Forum Members
Points: 2120 Visits: 4998
iRobot (9/11/2012)
Ahmed,

I am not a DBA and haven't actually used any of those tools. But I came across some great queries which will provide SQL Agent Jobs and schedules related information.

http://www.mssqltips.com/sqlservertip/2561/querying-sql-server-agent-job-information/

If I could just set up some interface wouldn't it do the job?
What would be your input on this? Please advise.


I have used queries similar to what you have posted but converted them to SSRS so we have a central point to view whats going on at a server level regarding agent jobs. Can get interesting and handy when needing to pivot of a certain day, drilling down on job X etc.
iRobot
iRobot
Valued Member
Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)

Group: General Forum Members
Points: 62 Visits: 110
That sounds great! Could you please post it?
Thanks
iRobot
iRobot
Valued Member
Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)

Group: General Forum Members
Points: 62 Visits: 110
Is there a way to figure out which tables are affected by which jobs?
iRobot
iRobot
Valued Member
Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)Valued Member (62 reputation)

Group: General Forum Members
Points: 62 Visits: 110
I cannot figure out which table to get information for the next scheduled Job.
Would it be dbo.sysschedules -active_start_date,active_start_time
OR
dbo.sysjobschedules- next_run_date,next_run_time?
Sodtke
Sodtke
SSC Journeyman
SSC Journeyman (79 reputation)SSC Journeyman (79 reputation)SSC Journeyman (79 reputation)SSC Journeyman (79 reputation)SSC Journeyman (79 reputation)SSC Journeyman (79 reputation)SSC Journeyman (79 reputation)SSC Journeyman (79 reputation)

Group: General Forum Members
Points: 79 Visits: 302
iRobot (9/18/2012)
I cannot figure out which table to get information for the next scheduled Job.
Would it be dbo.sysschedules -active_start_date,active_start_time
OR
dbo.sysjobschedules- next_run_date,next_run_time?


Yes, next_run_date and next_run_time will give you what you are looking for. Be aware though that the time field is in Integer format, and won't have leading zeros, so you will have to pad the output if you are making any type of report.

Hope this helps.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search