On Tue, 26 Apr 2016 19:56:14 -0700
John Jason Jordan <joh...@comcast.net> dijo:

>>You probably would benefit from the --delete flag. From the man page, 
>>this flag will "delete extraneous files from dest dirs" which I
>>believe is what you want to accomplish.
>
>OK, I changed it to:
>
>       rsync -avx --delete /home/jjj/Mail/ /media/jjj/Data/Mail
>
>And it seems to be working. 

I spoke to soon. It worked fine when I ran it directly from the command
line, but crontab pukes it up:

jjj@Devil-Bonobo:/media/jjj$ crontab -e
crontab: installing new crontab
"/tmp/crontab.xbNVsm/crontab":0: bad minute
errors in crontab file, can't install.
Do you want to retry the same edit? (y/n) y

This is the line in crontab:

0 3 * * * rsync -avx --delete /home/jjj/Mail/ /media/jjj/Data/Mail

The 'minute' is 0, which worked before. 

Suggestions?
_______________________________________________
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to