X-Spam-Check-By: sourceware.org
Message-ID: <780a907f0512270112h4f56035dxa7e37279e793e059@mail.gmail.com>
Date: Tue, 27 Dec 2005 10:12:47 +0100
From: Christophe Sauthier <christophe.sauthier@gmail.com>
To: cygwin@cygwin.com
Subject: Re: Cron and find
In-Reply-To: <20051223141014.GA19372@trixie.casa.cgf.cx>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: inline
References: <780a907f0512230551g8939f2fw66e09495722ec2ba@mail.gmail.com> 	 <43AC04C7.5070405@byu.net> <20051223141014.GA19372@trixie.casa.cgf.cx>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id jBR9CwNt029716

On 12/23/05, Christopher Faylor <cgf-no-personal-reply-please@cygwin.com> wrote:
> 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.
You are right : PATH is not the same... So once I've set it right,
everything is fine...

Thanks for the help, I think I was looking too hard to be on WE to be
able to think about that...



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


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


