user dietpi/root crontab not working Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
trendy
Posts: 125
Joined: Tue Feb 25, 2020 2:54 pm

Re: user dietpi/root crontab not working

Post by trendy »

For anyone that might be interested:

Code: Select all

05 5 * * * /usr/bin/scp 'root@magiatiko:/tmp/backup-magiatiko-'$(date +\%F)'.tar.gz /mnt/backup/magiatiko/'
Escaping % did the trick. The rest was included in single quotes.
Post Reply