Are you getting any mail from the run of the job?  Try using the full path to
everything (log files, binaries, scripts).






"Demicco, Matthew" <[EMAIL PROTECTED]> on 06/14/2000 10:10:34 AM

Please respond to [EMAIL PROTECTED]

To:   Multiple recipients of list RSYNC <[EMAIL PROTECTED]>
cc:    (bcc: Don L Maxwell/CCS/FDC)
Subject:  Rsync from Cron



In a Bourne Shell script, I'm issuing the following rsync command:

if `rsync -e ssh $HOST:/usr/local/bds/etc/families/$i $FAMILYDIR/`; then

This works fine if I call the script from the command line, but fails
instantly when called from a cron job. I tried both:

4 * * * * /myscript
and
4 * * * * /myscript >/dev/null 2>&1

But I'm not getting any indication of why it's failing. Any ideas? Thanks!
(BTW I looked at the FAQ, I'm not using --daemon, and even so I've tried
that suggestion)

---
Matthew R. Demicco
Taos Unix SysAdmin






Reply via email to