delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/23/08:52:01

X-Spam-Check-By: sourceware.org
Message-ID: <780a907f0512230551g8939f2fw66e09495722ec2ba@mail.gmail.com>
Date: Fri, 23 Dec 2005 14:51:51 +0100
From: Christophe Sauthier <christophe DOT sauthier AT gmail DOT com>
To: Cygwin List <cygwin AT cygwin DOT com>
Subject: Cron and find
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id jBNDpx86018328

Hi,

I am facing a weird stuff : I am executing a shell script that
contains a call to the find command.

When I am running it from the shell command list, everything run
smoothly... But when I am calling it from my crontab, find didn't
seems to return anything... In fact it didn't to work at all...

I've been googling a bit, and I've found nothing really usefull...
Does anybody encount that problem and has a solution ? By the way,
just a little precision : the user that execute the cron job and the
shell are the same, and my system is win 2003.

Otherwise if someone has a proper solution to get all the directory
contained inside an other one, and just the first level of same, I am
interested... By a proper solution I mean, avoiding just a simple ls
and then full of cut/grep/pipes...

Thanks a lot in advance,

     Chris

--
Ma vie              |
Mes images      |  http://www.reponses.net
Mon Wiki          |

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


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