-- Mike Jeays http://www.jeays.ca http://www.rotarycpmm.ca
On June 8, 2009 02:56:31 pm Jos Chrispijn wrote: > Found another solution (for running @ 23:58): > > 58 23 * * * [ `date -d tomorrow +%d` -eq '01' ] && /myscript > > thanks for all other suggestions, > Jos Chrispijn > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscr...@freebsd.org" Isn't that a linuxism? Looking at the man pages for the date command for FreeBSD, it looks as if 'date -v+1d' will return tomorrow's date (and it does, I checked). The -d option is to do with daylight saving time. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"