Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: Howto Schedule a procedure
"Amos" <amos_987_at_hotmail.com> schrieb im Newsbeitrag
news:9bmahl$3ht$1_at_news.inter.net.il...
> I wrote a procedure which I want to automatically execute 3 times a day.
> There must be a package that will let me create a scheduled job.
You can use the dbms_job package.
Make sure, you have job_queue_processes set to more than 0 in your
initora-file.
Then you can use the following example:
declare
a integer;
begin
dbms_job.submit(a,'ProcedureName;',sysdate,'sysdate+1/3');
commit;
end;
Bye
Ulrik
Received on Thu Apr 19 2001 - 04:59:51 CDT
![]() |
![]() |