On 03/03/2008, dan <[EMAIL PROTECTED]> wrote:
> monthly fulls:
> > 00 02 * * * backuppc if [ `/usr/local/bin/date +%d -d tomorrow` = 02 ] ;
> then /usr/share/backuppc/bin/BackupPC_serverMesg backup
> host.domain.tld host.domain.tld backuppc 1
> >
>
> this will say 'if tomorrow is the second, run this' BUT you would need to
> run this very early on the in the day.

this can be simply stated as

00 02 01 * *  backuppc  /usr/share/backuppc/bin/BackupPC_serverMesg backup
host.domain.tld host.domain.tld backuppc 1

If "tomorrow" is the second, then "today" must be the first, and we
can specify this directly in the crontab file, though running cron
jobs at 2am is probably not a very good idea in North America.
-- 
cheers,
-ambrose

Yahoo and Gmail must die. Yes, I use them, but they still must die.
PS: Don't trust everything you read in Wikipedia. (Very Important)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to