delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <43D54924.7BABCC53@dessent.net> |
Date: | Mon, 23 Jan 2006 13:22:44 -0800 |
From: | Brian Dessent <brian AT dessent DOT net> |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: trouble automating ftp with cron |
References: | <43D4FF52 DOT 28259 DOT 14DCA2C AT wess DOT acegroup DOT cc> |
X-IsSubscribed: | yes |
Reply-To: | cygwin AT cygwin DOT com |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |