I'm trying to run rsync-books
with a crontab. Typing crontab -e
outputs:
55 12 * * * diegoaguilar /storage/bin/rsync-books
Where /storage/bin/rsync-books
looks like this:
if [ -d "/media/Beagle/books" ]; then
rsync -rP --delete --verbose /storage/Copy/Books/ /media/Beagle/books >> ~/rsync-books.log
fi
Just to confirm, this script has got executable permissions. I tried waiting at that time the command, when /media/Beagle/books existed and it neither rsync anyhing or the log file was created.
Is there something I'm missing?
crontab -e
as userdiegoaguilar
?* * * * * touch /home/diegoaguilar/testfile
, Does testfile get created in your home directory?crontab -e
and remove 'diegoaguilar'