-----Original Message-----
From: Richard Huntley [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 02, 2002 11:58 AM
To: Multiple recipients of list ORACLE-L
Subject: RE: Unix - schedulingIs a strick 14 day rule absolutely necessary, if not...a much more hassle free way would be to
simply schedule the cronjob to run on the 1st and 15th of each month, i.e.# Min Hr Day Mon WkDay Command
0 0 1,15 * * <script>
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 02, 2002 11:13 AM
To: Multiple recipients of list ORACLE-L
Subject: Re: Unix - scheduling
-- Nils Höglund <[EMAIL PROTECTED]> on 07/02/02 03:28:20 -0800
> 0 */4 * * * your_command
$ man 5 cronttab;
The time and date fields are:
field allowed values
----- --------------
minute 0-59
hour 0-23
day of month 1-31
month 1-12 (or names, see below)
day of week 0-7 (0 or 7 is Sun, or use names)A field may be an asterisk (*), which always stands for ``first-last''.
Ranges of numbers are allowed. Ranges are two numbers separated with a
hyphen. The specified range
is inclusive. For example, 8-11 for an ``hours'' entry specifies
execution at hours 8, 9, 10 and 11.Lists are allowed. A list is a set of numbers (or ranges)
separated by commas. Examples:
``1,2,5,9'', ``0-4,8-12''.
:
Question: how does "0 */4 * * *" cause something to run every
4 weeks? Unless your version has a different field order. It
might work to try "* */628 * * *" but I'm not sure that cron
allows n>24 for the hourly divisor.The combination of date and weekday can approximate the 4-week
cycle.
--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
+1 800 762 1582
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
INET: [EMAIL PROTECTED]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: [EMAIL PROTECTED] (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).************************************************************ This message originated from the internet. Its originator may not be who they claim to be and the information contained herein my or may not be Accurate. All Messages are Scaned to be Virus Free, by IPM, powered by McAfee.
Title: Message
He
wanted every 4 weeks -
- Re: Unix - scheduling Nils Höglund
- Re: Unix - scheduling Jared Still
- Re: Unix - scheduling lembark
- Re: Unix - scheduling lembark
- Re: Unix - scheduling Alex
- RE: Unix - scheduling Richard Huntley
- RE: Unix - scheduling Hand, Michael T
- RE: Unix - scheduling Michael Cupp
- RE: Unix - scheduling Richard Huntley
- Re: Unix - scheduling Ron Thomas
- Re: Unix - scheduling Michael Cupp
- Re: Unix - scheduling alan . aschenbrenner
- RE: Unix - scheduling Michael Cupp
- RE: Unix - scheduling Sherman, Edward
- Re: Unix - scheduling Jared . Still
- Re: Unix - scheduling lembark
- RE: Unix - scheduling lembark
- RE: Unix - scheduling STEVE OLLIG
- Re: Unix - scheduling alan . aschenbrenner
- Re: Unix - scheduling Nils Höglund
- Re: Unix - scheduling Nils Höglund