On Fri, Aug 02, 2002 at 12:57:14PM -0600, Ashley M. Kirchner wrote: > > How does one schedule a crontab to run the last day of the month? > Considering that each month is different, one can't use '30' or '31' (or > 28/29), so...what to use?
Untested...I did a google search for crontab "last day of month" http://lovecraft.die.udec.cl/OS/UNIX/unix-hints-and-hacks/19270017.htm http://geo25.ige.unicamp.br/~moacir/dicas/unix/mails/msg00011.html http://www.ssc.com/pipermail/linux-list/2000-August/016704.html or, the low-tech approach which will work until 2004, after which it runs the February jobs a day early every leap year: 50 15 28 2 * /scripts/backup/monthly.sh 50 15 30 4,6,9,11 * /scripts/backup/monthly.sh 50 15 31 1,3,5,7,8,10,12 * /scripts/backup/monthly.sh -- Ed Wilts, Mounds View, MN, USA mailto:[EMAIL PROTECTED] Member #1, Red Hat Community Ambassador Program -- redhat-list mailing list Unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list