Thanks Cameron, Ramesh, & Steve. I ended up putting in in a script.
Mike
On Saturday 08 March 2003 05:10, Cameron Simpson wrote:
> On 03:18 08 Mar 2003, M.Lewis <[EMAIL PROTECTED]> wrote:
> | > Percents are special in Vixie cron crontabs. You need to slosh it:
> | >
> | > /bin/tar czvf /root/db
;Cameron Simpson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 08, 2003 6:40 PM
Subject: Re: Crontab issue
> On 03:18 08 Mar 2003, M.Lewis <[EMAIL PROTECTED]> wrote:
> | > Percents are special in Vixie cron crontabs. You need to slosh it:
> | &g
On 03:18 08 Mar 2003, M.Lewis <[EMAIL PROTECTED]> wrote:
| > 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
| > [...] Percent-signs (%) in t
> -Original Message-
> From: M.Lewis
> Sent: Saturday, March 08, 2003 3:56 AM
> Subject: Crontab issue
>
>
>
> If I run the following from the comman line, it works properly:
>
> /bin/tar czvf /root/dbman_back-`date '+%m%d%Y%H%M'`-tar.gz \
&
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 cro
Thanks Cameron. I'll give that a whirl.
Mike
On Saturday 08 March 2003 03:06, Cameron Simpson wrote:
> On 01:55 08 Mar 2003, M.Lewis <[EMAIL PROTECTED]> wrote:
> | If I run the following from the comman line, it works properly:
> |
> | /bin/tar czvf /root/dbman_back-`date '+%m%d%Y%H%M'`-tar.gz \
On 01:55 08 Mar 2003, M.Lewis <[EMAIL PROTECTED]> wrote:
| If I run the following from the comman line, it works properly:
|
| /bin/tar czvf /root/dbman_back-`date '+%m%d%Y%H%M'`-tar.gz \
| /var/www/cgi-bin/dbman
|
| However, it I put this in my crontab, I get the following:
|
If I run the following from the comman line, it works properly:
/bin/tar czvf /root/dbman_back-`date '+%m%d%Y%H%M'`-tar.gz \
/var/www/cgi-bin/dbman
However, it I put this in my crontab, I get the following:
Subject: Cron <[EMAIL PROTECTED]> /bin/tar czvf /root/dbman_back-`da