delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/23/09:10:24

X-Spam-Check-By: sourceware.org
Date: Fri, 23 Dec 2005 09:10:14 -0500
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Cron and find
Message-ID: <20051223141014.GA19372@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
References: <780a907f0512230551g8939f2fw66e09495722ec2ba AT mail DOT gmail DOT com> <43AC04C7 DOT 5070405 AT byu DOT net>
Mime-Version: 1.0
In-Reply-To: <43AC04C7.5070405@byu.net>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Fri, Dec 23, 2005 at 07:08:07AM -0700, Eric Blake wrote:
>According to Christophe Sauthier on 12/23/2005 6:51 AM:
>>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.
>
>Actually, the users probably aren't the same.
>
>http://cygwin.com/faq/faq-nochunks.html#faq.using.shares
>
>My guess is that you are trying to use find to traverse a network
>share, hence it isn't finding anything since the share is inaccessible
>to the SYSTEM user.

That was my guess, too.  Either that or the PATH is different in the
cron script and the windows version of find is being run rather than
the cygwin version.

cgf

--
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