Script to get list of all jobs

Script to get list of all jobs

select substr(job,1,4) "job",
substr(job,1,4) "job",
substr(schema_user,1,10) "user",
(schema_user,1,10) "user",
substr(to_char(last_date,'dd.mm.yyyy hh24:mi'),1,16) "last date",
(to_char(last_date,'dd.mm.yyyy hh24:mi'),1,16) "last date",
substr(to_char(next_date,'dd.mm.yyyy hh24:mi'),1,16) "next date",
(to_char(next_date,'dd.mm.yyyy hh24:mi'),1,16) "next date",
substr(broken,1,2) "b",
(broken,1,2) "b",
substr(failures,1,6) "failed",
(failures,1,6) "failed",
substr(what,1,32) "command"
(what,1,32) "command"
from dba_jobs;

Comments

Popular posts from this blog

How to make partitioning in Oracle more Quickly

Copy files between Unix and Windows with rcp

ORA-04062: timestamp of procedure has been changed