Question

I have a DBMS_jobs which is scheduled to run a procedure FINDING_PROCEDURE at 6 am evey day. Can anyone tell me how can i change the start time so that it is scheduled to run at 9 am from tomorrow. Thanks in advance.

enter image description here

Was it helpful?

Solution

As I already mentioned in my comment - your job doesn't run at 6 am every day, it runs every 21 hours.

As a second remark, you should seriously consider switching to DBMS_SCHEDULER - it's so much nicer than DBMS_JOB.

Anyway, to let this job run at 9am every day, this should do the trick:

DBMS_JOB.CHANGE (
   job       => your_job_id,
   interval  => 'trunc(sysdate) + 1 + 9/24');

OTHER TIPS

you can use DBMS_JOB.CHANGE() to Alter your job schedule.

Click on this link for complete reference from

Oracle Documentation:DBMS_JOB

and find DBMS_JOB.CHANGE()

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top