Database Administration (MOSC)

MOSC Banner

Scheduler jobs monitoring?

edited Feb 16, 2017 2:30AM in Database Administration (MOSC) 8 commentsAnswered

Is there any handy SQL sentence to be used for scheduler jobs monitoring?

Initially I thought that this would be trivial: checking FAILURE_COUNT and STATE from DBA_SCHEDULER_JOBS.

However I found out that I have a failing job with state "SCHEDULED"´ and zero FAILURE_COUNT and having error messages in the table SCHEMA.run_details.

There are no related errors in alert.log.

I tried DBA_SCHEDULER_JOB_RUN_DETAILS too, ERROR#<>0 didn't help.

The best solution I was able to create was;

SELECT RUN_DETAILS_ID,RUN_DETAILS_RUNS_ID, RUN_DETAILS_CREATED_DATE, run_details_error_details, RUNS_SJ_ID, sj_job_name

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center