Solved

How to get List of user level Scheduled Jobs in Oracle

Posted on 2009-05-13
5
4,169 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
Comment Utility
SELECT * FROM dba_jobs
0
 
LVL 1

Author Comment

by:thermalsun
Comment Utility
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
Comment Utility
 select    job_name,    enabled from    user_scheduler_jobs;
0
 
LVL 1

Author Closing Comment

by:thermalsun
Comment Utility
thx a lot for the solution.
0
 
LVL 51

Expert Comment

by:HainKurt
Comment Utility
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.

Join & Write a Comment

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

762 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now