www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/08/25/19:06:34

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" <wess AT acegroup DOT cc>
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>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

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

- Raw text -


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