Hi,

I have the following simple test script:-

------------------------------------------------
#! /bin/sh
cd /root/bin/
/usr/local/bin/wget --glob=on -N --passive-ftp
ftp://ftp.nai.com/pub/antivirus/superdat/intel/sdat4???.exe";

------------------------------------------------

This should download the latest McAfee superdat file, ie: sdat4250.exe into
the /root/bin dir.

When I run this script manually, it runs fine.  When I have it run via a
cron job, it stalls.  This is what I see in 'ps -ax'


 7673  ??  I      0:00.00 cron: running job (cron)
 7674  ??  Is     0:00.00 /bin/sh -c /root/bin/test.sh
 7675  ??  I      0:00.00 /bin/sh /root/bin/test.sh
 7676  ??  I      0:00.01 /usr/local/bin/wget --glob=on -N --passive-ftp
ftp://ftp.nai.com/pub/antivirus/sup

Any idea why this might be so?  I have tried using an ftp command, but the
same thing happens.  I have tried exporting a path that includes the
/usr/local/bin and the /root/bin directories, however, that didn't help.

Any ideas?

Cheers,

Paul Hamilton





To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to