Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

Query success of a single SQL job?

$
0
0

I have a SQL 2008 R2 server that runs a few jobs each night. I have a PRTG dashboard that can query the DB and return results and display them "all pretty like." What I'd like to do is display the job status on the dashboard. If I can give PRTG a query, it can display the results. The problem is I can't figure out the query. I've googled for querying job success, but I can only find scripts for querying for all jobs on a server. I'm only concerned with a single job's success or failure.

The job has 4 steps and basically restores the db from a bak copied from a network share.

Any help would be appreciated.


Viewing all articles
Browse latest Browse all 4871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>