Solved

How to get List of user level Scheduled Jobs in Oracle

Posted on 2009-05-13
5
4,413 Views
Last Modified: 2013-12-18
I want to know the SQL to get list of all scheduled jobs in oracle.

I created the job using dbms_scheduler.create_job(.....) with name RESET_KITID.
0
Comment
Question by:thermalsun
5 Comments
 
LVL 15

Expert Comment

by:OMC2000
ID: 24374809
SELECT * FROM dba_jobs
0
 
LVL 1

Author Comment

by:thermalsun
ID: 24375158
I create the job using a normal user named FLXUSER

Not able to view results using

SELECT * FROM user_JOBS


also tried SELECT * FROM dba_jobs using SYS account but the job is not there.

When I try to recreate the job i get error as
ORA-27477: "FLXUSER.RESET_COB_SEQ_KITID" already exists
ORA-06512: at "SYS.DBMS_ISCHED", line 99
ORA-06512: at "SYS.DBMS_SCHEDULER", line 262
ORA-06512: at line 2

I created the Job using below code:
BEGIN
dbms_scheduler.create_job( job_name=> 'RESET_COB_SEQ_KITID', JOB_TYPE=>'PLSQL_BLOCK', JOB_ACTION=> 'BEGIN COB_SP_RESET_KITID; END;', start_date=> SYSTIMESTAMP, repeat_interval=>'frequency=daily;interval=1;byhour=0; byminute=0; bysecond=0;', enabled=>TRUE );
END;

Open in new window

0
 
LVL 15

Accepted Solution

by:
Shaju Kumbalath earned 50 total points
ID: 24375177
 select    job_name,    enabled from    user_scheduler_jobs;
0
 
LVL 1

Author Closing Comment

by:thermalsun
ID: 31580967
thx a lot for the solution.
0
 
LVL 51

Expert Comment

by:HainKurt
ID: 24376034
You can start with this query

Select job, broken, substr(what,1,45), schema_user, next_date, this_date
from DBA_JOBS
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Article by: Swadhin
From the Oracle SQL Reference (http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/queries006.htm) we are told that a join is a query that combines rows from two or more tables, views, or materialized views. This article provides a glimps…
Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question