8i | 9i | 10g | 11g | 12c | 13c | 18c | 19c | 21c | 23c | Misc | PL/SQL | SQL | RAC | WebLogic | Linux

Home » Dba » Here

Script: autotask_job_history.sql

( Download Script )

-- -----------------------------------------------------------------------------------
-- File Name    : https://oracle-base.com/dba/11g/autotask_job_history.sql
-- Author       : Tim Hall
-- Description  : Displays the job history for the automatic maintenance tasks.
-- Requirements : Access to the DBA views.
-- Call Syntax  : @autotask_job_history.sql
-- Last Modified: 14-JUL-2016
-- -----------------------------------------------------------------------------------

COLUMN client_name FORMAT A40
COLUMN window_name FORMAT A20
COLUMN job_start_time FORMAT A40
COLUMN job_duration FORMAT A20
COLUMN job_status FORMAT A10

SELECT client_name,
       window_name,
       job_start_time,
       job_duration,
       job_status,
       job_error
FROM   dba_autotask_job_history
ORDER BY job_start_time;

COLUMN FORMAT DEFAULT