tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY:  Cron scheduling
@ 2000-02-29 20:54 Teresa Biehler
  0 siblings, 0 replies; only message in thread
From: Teresa Biehler @ 2000-02-29 20:54 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-02-29 20:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-02-29 20:54 SUMMARY: Cron scheduling Teresa Biehler

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