Solved

How to get List of user level Scheduled Jobs in Oracle

Posted on 2009-05-13
5
4,851 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 53

Expert Comment

by:Huseyin KAHRAMAN
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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Fill Null values 5 55
Checking for column width 8 49
update using pipeline function 3 46
error in oracle form 11 53
Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines

752 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