tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Teresa Biehler <tpbsys () rit ! edu>
To: tru64-unix-managers
Subject: SUMMARY-update:  Cron scheduling
Date: Wed, 01 Mar 2000 15:20:22 +0000	[thread overview]
Message-ID: <96079341819248.tru64-unix-managers.marc@archive.invalid> (raw)

After sending out this summary, I got a couple responses about the logic
of cron.  Apparently cron does not use AND when joining the fields (or
at least the "weekday" field) on when to run something.  So, the first
option I list below won't work.  


Teresa Biehler wrote:
> 
> I got a LOT of responses - THANK YOU!
> 
> There are a couple of options:
> 
> - Set it up in cron so that the script gets run when it is the 1st-7th
> day of the month and a Saturday.  This will only be true when it's the
> first Saturday.
> 
> - Have cron run the script on the 1st through the 7th.  The first step
> of the script would be to test if it is Saturday.  If yes, continue with
> the script, otherwise, exit.
> 
> - Have cron run the script every Saturday.  The first step of the script
> would be to test if the day of the month is less than 8.  If yes,
> continue with the script, otherwise, exit.
> 
> Thanks again to everyone who responded.
> Teresa
> 
> Teresa Biehler wrote:
> >
> > Hi all,
> >
> > I have a script which I would like to run on the first Saturday of the
> > month.  With cron I see how I can have it run on the first of the month
> > or on each Saturday, but not how would I get it to run on the first
> > Saturday of the month.
> >
> > Suggestions?
> >
> > Thanks.
> > Teresa

                 reply	other threads:[~2000-03-01 15:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox