Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

dbms_job.submit - every sunday at 00:00 o'clock

463470May 15 2008 — edited May 16 2008
Hello all,

I don't now exactly how these parameters work (next_date, interval)
I want this job to run every sunday at 00:00 o'clock or 01:00 clock on Monday.
Can anyone tell me if it is ok in this way?

Thank you!

declare
my_job number;
begin
dbms_job.submit(job => my_job,
what => 'my_procedure(test);'
next_date => 'TRUNC(SYSDATE+4)+1/24')),
interval => 'TRUNC(SYSDATE+7)+1/24'));
end;
/
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 13 2008
Added on May 15 2008
22 comments
5,665 views