Wednesday
Dec292010
Reporting on latest run of Oracle Scheduled Jobs
Wednesday, December 29, 2010 at 7:54PM Update:
I've found that the TIMESTAMP data type on the LOG_DATE column is a bit tedious to sort. So here's a complete example query of how you'd get the latest run results for a specified job. Note that I implemented a subquery to get the sort to work with intended results.
As written you'll get the latest results (job_name, status, log_date, and run_duration columns) for the job "MY_job".
Cheers