X-Recipient: archive-cygwin@delorie.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.2054.43610D04@wess.acegroup.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.huang@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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

2009/8/26 Wes S <wess@acegroup.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

