Rsync command failing as a Cron Tab

Ian Skinner iskinner at cdpr.ca.gov
Thu Sep 23 13:54:07 MDT 2010


Thanks!

This seems to have been the problem.  After finding the information cron was spitting out to the unix mail, it was apparent that the splats (*) used to short cut the paths so the command would fit into the max length of the command line where giving problems when run by cron.  Don't know why this would be the case, but extending all the paths out fully in the shell script worked just fine.

Ian

>>> "Benjamin R. Haskell" <rsync at benizi.com> Tuesday, September 21, 2010 4:13 PM >>>
Via the shell script, under cron, it's often necessary to specify full 
paths (for security and/or just-because).




More information about the rsync mailing list