This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Find cron failed script
- From: Huang Bambo <bambo dot huang at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 26 Aug 2009 09:05:59 +0800
- Subject: Re: Find cron failed script
- References: <4A943643.2054.43610D04@wess.acegroup.cc>
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, ?cron doesn't seem to have a path unless I tell
> it to. ?I 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. ?I don't want to say how long it took for me to figure this
> out.
>
> Wes
>
>
> --
> 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
>
>
--
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