delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/08/25/21:06:16

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4A943643.2054.43610D04@wess.acegroup.cc>
References: <4A943643 DOT 2054 DOT 43610D04 AT wess DOT acegroup DOT cc>
Date: Wed, 26 Aug 2009 09:05:59 +0800
Message-ID: <f4d6f44b0908251805q66060f51pfbd03d1dc1f24ccc@mail.gmail.com>
Subject: Re: Find cron failed script
From: Huang Bambo <bambo DOT huang AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Just add the cygwin's searh path at the beginning of PATH environment

2009/8/26 Wes S <wess AT acegroup DOT cc>:
> Drove myself nuts trying to figure out why my script ran fine from a
> console and died under cron.
>
> Find is part of w2k, =A0cron doesn't seem to have a path unless I tell
> it to. =A0I got the following:
>
> FIND: Invalid switch
> FIND: Parameter format not correct
>
> I should have directly specified path to find or put a path in my
> script.
>
> Oh well, just wanted it out there for others that stubbed their foot
> on this. =A0I don't want to say how long it took for me to figure this
> out.
>
> Wes
>
>
> --
> Problem reports: =A0 =A0 =A0 http://cygwin.com/problems.html
> FAQ: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http://cygwin.com/faq/
> Documentation: =A0 =A0 =A0 =A0 http://cygwin.com/docs.html
> Unsubscribe info: =A0 =A0 =A0http://cygwin.com/ml/#unsubscribe-simple
>
>

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

- Raw text -


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