On Wed, Apr 25, 2001 at 03:32:43PM -0700, Karsten M. Self wrote: > Hence, my crontab recipie to execute a job on the first sunday of the > month is: > > 1 1 1 * * echo 'command -args' | at 1:35 sunday <snip> > For tasks scheduled for other weeks of the month, you'd select: > > Week Day > ---- --- <snip> > 5 29
Note also that for any month that is not a non-leap February, this 5th-week rule will happily schedule the command for the first week of the following month if there isn't a fifth occurrence of the desired weekday that month. -- That's not gibberish... It's Linux. - Byers, The Lone Gunmen Geek Code 3.1: GCS d? s+: a- C++ UL++$ P++>+++ L+++>++++ E- W--(++) N+ o+ !K w---$ O M- V? PS+ PE Y+ PGP t 5++ X+ R++ tv b+ DI++++ D G e* h+ r y+