delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/07/22/11:29:03

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Subject: Re: trouble running a script with a while loop from cron
From: Mark Horning <mhorning AT markwest DOT com>
To: cygwin AT cygwin DOT com
In-Reply-To: f60fe000807211421v48212da5xb2329c34a2e9140d@mail.gmail.com
Date: Tue, 22 Jul 2008 09:27:20 -0600
Message-Id: <1216740440.9004.3.camel@lespaul>
Mime-Version: 1.0
X-Mailer: Evolution 2.22.0-4.1mdv2008.1
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

The windows sort command was definitely the problem. I had not set a
PATH for cron so it was using the default PATH. When I set a PATH in the
crontab it resolved the issue. One thing I'm not quite sure of is why
didn't it work properly from cron when I specified the full path to sort
in the script.....

Thanks!

-  


Mark Horning


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019