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

Home -> Community -> Mailing Lists -> Oracle-L -> set correct "next" time after fixing broken job

set correct "next" time after fixing broken job

From: Jeffrey Beckstrom <JBECKSTROM_at_gcrta.org>
Date: Tue, 16 Sep 2003 04:39:25 -0800
Message-ID: <F001.005D00A4.20030916043925@fatcity.com>


If I mark a job as broken to prevent its being run and later mark it as being unbroken, it appears that by default the "next run date" is set as the current date. If I want to have the job rescheduled back to its original date/time, is there a way to do that. Let's say the job runs daily at 10:00 p.m. If I mark the job as broken and later as unbroken without specifying a date, it runs immediately. However, I know that I can code a date when I unbreak the job, but how can I do this in sql without hardcoding a date. We have several jobs we would sometimes like halted during maintenance and would like to avoid having to hardcode a date when unbreak them.

Jeffrey Beckstrom
Database Administrator
Greater Cleveland Regional Transit Authority 1240 W. 6th Street
Cleveland, Ohio 44113
(216) 781-4204

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Jeffrey Beckstrom
  INET: JBECKSTROM_at_gcrta.org

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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 Tue Sep 16 2003 - 07:39:25 CDT

Original text of this message

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