Quantcast
Channel: Software Communities : All Content - Database Performance Monitoring for SQL Server
Viewing all articles
Browse latest Browse all 62

Long running jobs report

$
0
0

Hi,

I am trying to schedule a daily long running jobs report. I couldn't find a SSRS report for that. Anyone has one by any chance?

 

Looking at the table [spotlight_playback_alarms], I see that value:

 

Job {0} has been executing for {1} ({2}% of the average run duration for this job)./**DELIMITER**/str:LSZ - DST0004 - On-Hand available/**DELIMITER**/str:1 hour 3 minutes/**DELIMITER**/int64:211

 

Basically I want to have the same formatting as when I receive the alarm for the execution time and avg values:

 

Job LSZ - DST0004 - On-Hand available has been executing for 1 hour 3 minutes (211% of the average run duration for this job).

 

That ''perfect'' formatting is not stored anywhere in a table? Or can you provide the script that does the formatting? That will save me some time! Thanks


Viewing all articles
Browse latest Browse all 62

Trending Articles