Tim Allshorn wrote:

>     I know the cron command has to be something like : 59 23 ? ? * , with 
> maybe some condition on the end.

I think you could use something like

59 23 28-31 * * [ `date -v+1M +%d` -eq 1 ] && /path/to/your/program

i.e., check that in one minute's time the day of the month is 1, if so,
run the program.

-- 
Ben Smithurst / [EMAIL PROTECTED]                 FreeBSD: The Power To Serve
                                                    http://www.FreeBSD.org/

PGP signature

Reply via email to