Charlie,
Some days are like that. You're right. Mike Hand had the right idea
when he wrote:
.......... 2 choices are
MM HH 22-28 * * (shell script checks for Sunday before proceeding)
OR
MM HH * * 0 (shell script checks for day of month between 22 and 28
before
proceeding)
Mike
Charlie Mengler wrote:
>
> Just curious.
>
> Using your algorithm, what happens on those rare months
> where there are FIVE sundays?
>
> "David A. Barbour" wrote:
>
> > Luc,
> >
> > One possible solution:
> >
> > Run the cron every Sunday and have the first part of your shell script
> > check to see if that day's date plus seven days falls into another
> > month.
> >
> > Regards,
> >
> > David A. Barbour
> > Oracle DBA
> > Formerly with the now defunct and bankrupt ConnectSouth
> >
> > "DEMANCHE Luc (Cetelem)" wrote:
> > >
> > > Hi gurus,
> > >
> > > I want to schedule a script to run on the fourth sunday of the month.
> > >
> > > How can I do that ?
> > >
> > > TIA
> > >
> > > -----------------
> > > Luc Demanche
> > > CETELEM
> > > Tél.: 01-46-39-14-49
> > > Fax : 01-46-39-59-88
> > --
> > Please see the official ORACLE-L FAQ: http://www.orafaq.com
> > --
> > Author: David A. Barbour
> > 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).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: David A. Barbour
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).