This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: trouble automating ftp with cron


Wes S wrote:

> I've been trying the last two days to get this to work but if fails
> using cron with cygwin but works just fine using cron  with Fedora
> Core 4. If I run myscript.sh from a console the script runs fine.
> 
> I can't seem to login to the ftp site when run from cron.  Any ideas?
> I've tried running this as both Administrator and power user wess.

Are you sure that the 'ftp' that is being run from your cronjob is
really the Cygwin ftp and not Windows' ftp?  The PATH setting in the
cronjob is normally not the same as that at your normal user bash
prompt.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]