X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.1 required=5.0 tests=AWL,BAYES_40,SPF_PASS X-Spam-Check-By: sourceware.org From: "Wes S" To: cygwin AT cygwin DOT com Date: Tue, 25 Aug 2009 19:06:43 -0400 MIME-Version: 1.0 Subject: Find cron failed script Message-ID: <4A943643.2054.43610D04@wess.acegroup.cc> Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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