X-Spam-Check-By: sourceware.org Message-ID: <43D54924.7BABCC53@dessent.net> Date: Mon, 23 Jan 2006 13:22:44 -0800 From: Brian Dessent 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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/