Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Job Activity Monitor Report? Expand / Collapse
Author
Message
Posted Monday, August 31, 2009 11:50 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Monday, August 31, 2009 3:56 PM
Points: 12, Visits: 34
Hi All,
Is there a way to get an automated report/snapshot of Job Activity Monitor every morning?

Please let me know

Thanks
Post #780101
Posted Tuesday, September 1, 2009 9:10 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Yesterday @ 12:20 PM
Points: 1,157, Visits: 3,258
You could put the output of msdb.dbo.sysjobactivity into an SSRS report and create a subscription to deliver the report via e-mail.

Tommy

Post #780804
Posted Wednesday, September 2, 2009 9:26 AM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Friday, August 15, 2014 3:04 AM
Points: 2,728, Visits: 1,116
Tommy Bollhofer (9/1/2009)
You could put the output of msdb.dbo.sysjobactivity into an SSRS report and create a subscription to deliver the report via e-mail.


Well that might work, if you want the job_id and not the job name. but it is a good start...

select name,* from msdb.dbo.sysjobactivity a join msdb..sysjobs b
on a.job_id = b.job_id

you can always make this more refined, not rough and ready like this scrappy bit of coding


--------------------------------------------------------------------------------------
Recommended Articles on How to help us help you and
solve commonly asked questions

Forum Etiquette: How to post data/code on a forum to get the best help by Jeff Moden
Managing Transaction Logs by Gail Shaw
How to post Performance problems by Gail Shaw
Help, my database is corrupt. Now what? by Gail Shaw
Post #781579
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse