I Jeff, Sorry but script doesnot run from command line as well.
I changed the script to also include rsh => '/usr/local/bin/ssh', 'rsync-path' => '/usr/local/bin/rsync' for rsh over ssh and created passwordless login. But still doesnot work. Any clues ? Regards, Punit ----- Original Message ----- From: "Jeff Peng" <p...@staff.dnsbed.com> To: beginners@perl.org Sent: Tuesday, February 14, 2012 11:11:18 AM Subject: Re: Rsync doesnot work δΊ 2012-2-14 13:14, Punit Jain ει: > This works manually if I run this script however under crontab it doesnot. > > Any clue what could be the issue ? How about the environment variables? For example, you maybe have setup the value of RSYNC_PASSWORD in the shell, but the value becomes not effective in the crontab. HTH. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/ -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/