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