When I run the command below, in a konsole, it copies my Thunderbird profile to a backup disk and appends the current date to the file name.
When I run the same command in crontab, it appears to work but there is no file copied to the destination folder.
This command however does work in crontab.
So there is apparently a problem with crontab and the append date code at the end of the command. Any thoughts?
18.04.1, i7, 16GB RAM.
Code:
cp -r /home/specialed/.thunderbird/b61br7fd.default /media/specialed/Data_Storage/Backups/b61br7fd.default_`date +%b_%d_%Y`
This command however does work in crontab.
Code:
0 0 * * * cp -r /home/specialed/.thunderbird/b61br7fd.default /media/specialed/Data_Storage/Backups/b61br7fd.default_new
18.04.1, i7, 16GB RAM.
Comment