Rick Stevens wrote:

> Running interactively but not under cron usually indicates that you've
> forgotten that running under cron, you don't have the same environment
> as you do in an interactive session. So, make sure your environment is
> set correctly in the script (such as the PATH and such).

Thanks for the reply, Rick. I'm certainly aware of the issue. But note
that I have four nearly identical sub-scripts, three of which work
flawlessly and one of which reports the error only under cron. The error
message seems network related, not environment related, though I don't
know for sure what the error means.

  rsync: safe_read failed to read 1 bytes [Receiver]: Connection reset
by peer (104)
  rsync error: error in rsync protocol data stream (code 12) at
io.c(276) [Receiver=3.1.3]

The only online reference I could find to that message suggested
possible missing directories. But the scripts all use absolute pathnames
and all of them do exist.
-- 
  Dave Close

 "Learn from the mistakes of others.
  You can never live long enough to make them all yourself."
    --Groucho Marx
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to