Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: DBMS job interval question
John,
Submit one job with the following interval:
sysdate + 6/24 (i.e. current time + 6 hours)
When submitting the job for the first time, submit it for the next interval you want it to run, either midnight, 6am, noon, or 6pm to ensure that it starts at that time, and not right away.
This works for your scenario, because your intervals are equally spaced at 6 hours.
Dara Vaughn
Oracle DBA
Quality Software Engineering
-----Original Message-----
From: root_at_fatcity.com [mailto:root_at_fatcity.com]On Behalf Of John Dailey
Sent: Tuesday, December 05, 2000 10:51 AM
To: Multiple recipients of list ORACLE-L
Subject: DBMS job interval question
Greetings all. I want to schedule a job to run at midnight, 6am, noon, and 6pm each day. How would I write the job interval to schedule this, or do I have to enter the job 4 different times (i.e. 4 different job numbers) with the following intervals:
TRUNC(SYSDATE+1) TRUNC(SYSDATE+1)+6/24 TRUNC(SYSDATE+1)+12/24 TRUNC(SYSDATE+1)+18/24
How can I combine these into one? Or is this possible?
Thanks in advance for any and all help. Anybody done this before?
John Dailey, MCSE/MCP+I
Oracle DBA & All Around Good Guy
Consultant
Concept Solutions, LLC
Phone: 703-855-8832
Concept Solutions, LLC
*Your Business Intelligence Partner*
www.concept-solutions.com
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: John Dailey
INET: John.Dailey_at_concept-solutions.com
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: 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 Tue Dec 05 2000 - 11:44:50 CST
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message