On Mon, 2007-11-05 at 07:34 -0330, Roger Mason wrote: > Shawn Haggett <[EMAIL PROTECTED]> writes: > > > Roger Mason wrote: > >> I have passwordless ssh between mymachine and backup_machine and the > >> rsync command in the crontab runs perfectly from the command line. > >> > >> Does someone know what else needs to be done to get this (seemingly > >> simple!) task to work? > >> > > > > How have you setup the passwordless ssh? If your using keys with the > > ssh keyagent, then when the command is run in cron it wouldn't know > > where to find your ssh-agent... > > Yes, I think that is the problem. I'm going to try the technique > described here: > > http://arctic.org/~dean/rdiff-backup/unattended.html > > Will report back. > > Cheers, > Roger
Keep in mind that cron runs with a very limited environment for safety reasons. You have to manually set most env variables and the like. BillK -- [EMAIL PROTECTED] mailing list