That didn't work Cameron. It gives me a file with the name of:
dbman_back-\03\08\2003\03\14-tar.gz
[snip]
> Percents are special in Vixie cron crontabs. You need to slosh it:
>
> /bin/tar czvf /root/dbman_back-`date '+\%m\%d\%Y\%H\%M'`-tar.gz
> /var/www/cgi-bin/dbman
>
> "man 5 crontab" says
>
> The ``sixth'' field (the rest of the line) specifies the
> command to be run. The entire command portion of the
> line, up to a newline or % character, will be executed by
> /bin/sh or by the shell specified in the SHELL variable of
> the cronfile. Percent-signs (%) in the command, unless
> escaped with backslash (\), will be changed into newline
> characters, and all data after the first % will be sent to
> the command as standard input.
--
IBM: I'll Buy Macintosh
03:15:01 up 49 days, 10:15, 7 users, load average: 0.42, 0.67, 0.62
Linux Registered User #241685 http://counter.li.org
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list