Last day of the month cron job
Posted on 2004-08-16
I would like to run a script on the last day of the month on a FreeBSD system. I have tried several solutions out there and none of them are easy or smooth. Many didn't work reliably as well. Does anyone have an easy way to do this. I could use a wrapper script if required. I've seen some examples where they run the wrapper on the 28-31 day of the month, check to see if it is the last day, and then run. I could accept this if the wrapper was simple and supported with no special packages or ports. The ideal would be if you could somehow just add a crontab entry to do it. Thanks.