Cron and find

Christophe Sauthier christophe.sauthier@gmail.com
Tue Dec 27 11:01:00 GMT 2005


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/



More information about the Cygwin mailing list