denrepo

OracleScheduler & jobs

Legacy DBMS_JOB jobs

Old-style jobs, which still turn up in upgraded databases. From 19c they're implemented as scheduler jobs underneath, but DBA_JOBS still shows them this way.

Not yet verified. How scripts are tested

ora-dbms-job.sql
1CLEAR COLUMNS2SET LINESIZE 160 PAGESIZE 100 TRIMOUT ON TAB OFF3COLUMN job      FORMAT 99999994COLUMN log_user HEADING "OWNER"    FORMAT A155COLUMN broken   FORMAT A66COLUMN failures FORMAT 9,9907COLUMN next_run HEADING "NEXT RUN" FORMAT A168COLUMN what     FORMAT A60 TRUNCATE9 10SELECT job, log_user, broken, failures,11       TO_CHAR(next_date, 'YYYY-MM-DD HH24:MI') AS next_run,12       what13FROM dba_jobs14ORDER BY job;

Save it as ora-dbms-job.sql and run it with SQL> @ora-dbms-job.

Open in denrepoRelated tool: Scheduler job builder

More Oracle scripts: Scheduler & jobs