<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Hi</DIV>
<DIV> </DIV>
<DIV>I put the rsync in cronjob</DIV>
<DIV>but it won't work</DIV>
<DIV> </DIV>
<DIV>in root user cron</DIV>
<DIV> </DIV>
<DIV>*/30  * * * *  /home/chloe/rsy.sh >/dev/null 2>&1</DIV>
<DIV> </DIV>
<DIV>1/ why it needs pw when I run this rsy.sh in root?</DIV>
<DIV>but if I run it in chloe user, it doesn't need pw as I put authoized_key in remote host chloe </DIV>
<DIV> </DIV>
<DIV>2/ why this root cronjob is not working? what wrong? I can't see this cron in message</DIV>
<DIV> </DIV>
<DIV>the rsy.sh is below</DIV>
<DIV> </DIV>
<DIV>#! /bin/sh<BR>rsync -essh -av chloe<A href="mailto:chloe@remotehost:/var/www/html">@remotehost:/var/www/html</A> /backup/html</DIV>
<DIV> </DIV>
<DIV>Thank you</DIV></td></tr></table><br>
      <hr size=1>Ask a question on any topic and get answers from real people. <a href="http://ca.answers.yahoo.com"><b>Go to Yahoo! Answers.</b></a>