On Tue, 29 May 2001, Frank Artusa wrote:
>I have a few web servers running Redhat 6.2 which synchronize via two
>scripts to an rsync server. They run every 5 and 15 minutes through a cron
>job. For many months this worked great until a few days ago when it just
>stopped working. If I run these scripts manually it works fine, which leads
>me to believe its a cron problem. But, cron logs report that these scripts
>execute fine with no errors.
Cron jobs run with a reduced path and environment, which you can see in the
headers when you get mail from cron. Make rsync produce some output (e.g. by
adding -v to the options) and look at the cron environment, then run cron with
that environment and see if you can reproduce the problem.
phma