[CentOS] rsync

Thu Sep 3 20:06:32 UTC 2009
chloe K <chloekcy2000 at yahoo.ca>

Hi
 
I put the rsync in cronjob
but it won't work
 
in root user cron
 
*/30  * * * *  /home/chloe/rsy.sh >/dev/null 2>&1
 
1/ why it needs pw when I run this rsy.sh in root?
but if I run it in chloe user, it doesn't need pw as I put authoized_key in remote host chloe 
 
2/ why this root cronjob is not working? what wrong? I can't see this cron in message
 
the rsy.sh is below
 
#! /bin/sh
rsync -essh -av chloe at remotehost:/var/www/html /backup/html
 
Thank you


      __________________________________________________________________
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now
http://ca.toolbar.yahoo.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20090903/35f34702/attachment-0003.html>