On Mon, Sep 17, 2001 at 01:07:59PM +1000, Greg Black wrote:
> Eugene Grosbein wrote:
> | This can be done with cron with single entry and small overhead.
> | Run whis script at last minute of every day (or every 28-31):
> | 
> | #!/bin/sh
> | 
> | tomorrow=`date -v+1d %d`
> | if [ $tomorroq -ne "01" ]; then 
> |   exit      # if tomorrow is not begin of month, do nothing
> | fi
> | 
> | # do work now
> 
> Sure:
> 
>     $ date -v+1d %d

date -v+1d +%d

-Steve

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to