-- 
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
>
> _______________________________________________
> [email protected] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[email protected]"

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.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to