I'm using cron to run rsync every night to backup from one hard drive to another. Unfortunately, I can't seem to get the --delete option to work through cron - although it seems to work just fine when I run rsync with the same arguments on test directories using my own user. This makes me think it's a user/permissions problem (although rsync is indeed copying the files as desired - it's just not deleting files on the backup drive which I've removed from the working drive).
The command I'm running is:
/usr/bin/rsync -avltr --delete /home/mbeeby /mnt/backup2
Does anyone have any ideas as to what I'm doing wrong?