On Mon, Jun 25, 2001 at 04:51:51PM -0400, Rick Pasotto wrote: > In the script that the cron job runs every 28-31 put the line: > > if [ `date +%m` == `date +%m --date=tomorrow` ]; then exit; fi
Or, to put all the logic within the crontab itself (a Good Thing, since you then only have to look in one place to find it): 1 0 28-31 * * [ "$(date +%d -d +1day)" -eq "1" ] && /path/to/script args -- That's not gibberish... It's Linux. - Byers, The Lone Gunmen Geek Code 3.12: 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+