Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Nov 2002 10:39:31 -0600
From:      John <john@starfire.mn.org>
To:        freebsd-questions@freebsd.org
Subject:   FTP and cron
Message-ID:  <20021115103931.A82781@starfire.mn.org>

next in thread | raw e-mail | index | archive | help
Hi.

I'm still running FreeBSD 4.3, but I suspect the problem isn't
specific to that one operating system.

I'm having fits running ftp from cron jobs.  Shell or "expect" scripts
that execute perfectly from the terminal fail in a seeminly non-
deterministic variety of ways when run from cron.

No, it's not something simple like cron not running expect, or ftp
being in "non-interactive mode".  The prework all runs correctly,
I even set the hash byte count and get the feedback from that...
when the put command starts, though, things get different!  I get
different progress messages, no hash marks, and apparently, no
data transferred.  The file NAME appears on the remote side, but is
0 length regardless of how long I wait.  When I run the scripts
from the terminal, it works fine.

Can anyone lend any insight or point me in the right direction?

Thanks!
-- 

John Lind
john@starfire.MN.ORG

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021115103931.A82781>