I have following crontab entry which does not work. Please can anybody help?
@midnight scp /home/xxx/file.txt xxx@yyy:~/zzz/file.txt_`date +"%m-%d-%y"`
This command works very well when run from command line. This is trying to backupo file to another machine every day with current date appended to it.