Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Scheduling a task

Re: Scheduling a task

From: Glenn Ferguson <glenn_at_home.net>
Date: 1997/04/30
Message-ID: <336776D8.6A02@home.net>#1/1

Denis Ethier wrote:
>
> I would like to start a particular stored procedure once per day
>
> How do i do that
>
> Denis Ethier
> dethier_at_clickon.com

Try this:
declare
jobno number;
begin
dbms_job.submit(jobno, 'procedure;',sysdate,'sysdate+1'); end;

You must include the ";" after the proceudre in the call to dbms_job.submit.
This will create an entry into dba_jobs which is somewhat similiar to cron on unix.

Glenn Ferguson
glenn_at_home.net Received on Wed Apr 30 1997 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US