Find cron failed script

Huang Bambo bambo.huang@gmail.com
Wed Aug 26 01:06:00 GMT 2009


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



More information about the Cygwin mailing list