This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: trouble automating ftp with cron
- From: Brian Dessent <brian at dessent dot net>
- To: cygwin at cygwin dot com
- Date: Mon, 23 Jan 2006 13:22:44 -0800
- Subject: Re: trouble automating ftp with cron
- References: <43D4FF52.28259.14DCA2C@wess.acegroup.cc>
- Reply-to: cygwin at cygwin dot com
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/