Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re:Urgent: How to Automate Procedure Execution
abdullatif
Easiest way,
declare
job number;
begin
dbms_job.submit(job, 'jrunit;',trunc(sysdate+1)+20/24,
'trunc(sysdate+1)+20/24', FALSE);end;
The job will run tomorrow morning at 10PM and every day thereafter at the same time. Also unlike using cron or at if the db is down when the job is suppose to run, it will run on db startup.
Dick Goulet
____________________Reply Separator____________________ Author: abdul latif <abdulatif52_at_yahoo.com> Date: 4/20/2001 11:36 AM
Listers,
Can someone tell me how to automate procedure
execution
from within Oracle.
I would like to execute this procedure at 10:00 p.m.
sqlplus> execute jrunit
Thank in advance.
abdullatif
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists --------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists --------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Fri Apr 20 2001 - 16:28:13 CDT