SUMMARY: cron question: first Sunday of every month

From: Paul Alukal (palukal@umich.edu)
Date: Tue Dec 17 1996 - 20:41:27 CST


Here is my original question:

>I need to run a script first Sunday of every month (at a given hour,
>say 3 am). Can a single cron entry do that?
>
>If not, are there anyone out there who have already made a script for
>similar stuff?
>
>Thanks for any help.
>
>P. Alukal

Thanks to all who replied.

It appears (the consensus was) that one can not do it in the Solaris
cron with a single entry ( even though one or two persons suggested
it's possible).

One possible method is to run the cron on every Sunday, and check
within the script whether it is the first Sunday.

Thanks to:

Jim Stern <jstern@world.northgrum.com>
"Nicholas R LeRoy" <nleroy@norland.com>
tkevans@eplrx7.es.dupont.com (Tim Evans)
"POPIt User" <mstier@mindspring.com>
Rich Kulawiec <rsk@itw.com>
David Staggs <dstaggs@kcii.com>
"Charlie Mengler" <charliem@mwh.com>
David Smith <dpsmith@lbin.com>
glenn.w.cantello@hydro.on.ca (G W Cantello)
Gene Rackow <rackow@mcs.anl.gov>
Dan Pritts <danno@fv.com>
Marina.Daniels@ccd.tas.gov.au (Marina Daniels)
"Karl E. Vogel" <vogelke@c17mis.region2.wpafb.af.mil>
wawong@asl.com.hk (Wales Wong)



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:18 CDT