I need to back up a directory with
zip -r /savehere/backup_`date +%y%m%d%H%M%S` /save/this -q
It works fine. But not from crontab:
* * * * zip -r /savehere/backup_`date +%y%m%d%H%M%S` /save/this -q
neither
* * * * cd /savehere/; /usr/bin/zip -r /savehere/backup_`date +%y%m%d%H%M%S` /save/this -q
Оther commands in this crontab are working.
What is wrong with this command?
http://stackoverflow.com/questions/7068759/crontab-syntax-error/7068803#7068803
– Qiao Sep 15 '14 at 07:34