crontab and command expansion problem
Hi folks,
I'm using a Debian unstable, and just moved a crontab like this from another
Redhat-based system:
WEEK_DAY=`date +\%A`
30 23 * * * mount /backup && mysqldump --password=FOOBAR --all-databases > /backup/alldb-${WEEK_DAY}.sql; umount /backup
It's been working on RH system, but the Debian cron keeps refusing to do command
expansion on WEEK_DAY, i.e. the script produces a file named: alldb-`date +\%A`.sql
Any hint?
Thanks in advance.
PS: plz kindly CC me.
--
Regards, Isaac
() ascii ribbon campaign - against html e-mail
/\ - against microsoft attachments
Reply to: