By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,322 Members | 1,182 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,322 IT Pros & Developers. It's quick & easy.

HELP: dbms.job - scheduling job at exact time

P: n/a
Please, has anyone an idea about planning job in axact time ? I mean
we need to run job in every minute starting at 00 sec. This job takes
about 2 secs and call another stored procedure.

I wrote this pl/sql block:

declare
l_job number;
begin
dbms_job.submit( l_job,
'test_proc;',
sysdate,
'sysdate+1/1440' );
commit;
end;

Everything is fine except of submit time. I have no idea about telling
Oracle to run this job every minute at 00 sec.

Thanks
Jul 19 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
mv******@cz.soluziona.com (Milan) wrote in message news:<20**************************@posting.google. com>...
Please, has anyone an idea about planning job in axact time ? I mean
we need to run job in every minute starting at 00 sec. This job takes
about 2 secs and call another stored procedure.

I wrote this pl/sql block:

declare
l_job number;
begin
dbms_job.submit( l_job,
'test_proc;',
sysdate,
'sysdate+1/1440' );


sysdate + 60/86400 will restart at 60 second intervals. (86400 is
total number of seconds in 24 hours)
Regards
/Rauf Sarwar
Jul 19 '05 #2

P: n/a
Hi Rauf,

Here is a page with lot's of dbms_job scheduling examples:

http://www.praetoriate.com/oracle_tips_dbms_jobs.htm
Jul 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.