Date: Mon, 14 Jan 2002 08:17:15 -0800 (PST) From: ann kok <annkok2001@yahoo.com> To: questions@FreeBSD.ORG Subject: crontab to backup mail in date format Message-ID: <20020114161715.86067.qmail@web20101.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
Hi all I have problem about crontab to backup mail in date format error from root: /bin/sh: unexpected EOF while looking for ``' >/bin/sh: -c: line 2: syntax erro My contrab is as follows: 5 21 * * * tar czvf /backup/`date "+%Y-%m-%d"`home.tar.gz /home > /dev/null 2>&1 59 23 * * * tar cvf /backup/`date "+%Y-%m-%d"`backupmail.tar /mail > /dev/null 2>&1 But I don't have problem when not using the date format TIA __________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020114161715.86067.qmail>