Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Tue, 28 Aug 2001 12:16:05 +0100 From: James Nallen Subject: unexpected behaviour of 'find' command X-Sender: jnallen AT ailm DOT may DOT ie To: cygwin AT cygwin DOT com Message-id: <5.0.2.1.0.20010828115540.01f89140@ailm.may.ie> MIME-version: 1.0 X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Content-type: text/plain; charset="us-ascii"; format=flowed Hi, I'm running cygwin-1.3.2, setup-2.78.2.3 on w2k pro in stand-alone mode. The following file, -rwxr-xr-x 1 Administ None 154 Aug 28 11:43 del_oldfiles.out contains #! /bin/sh rm -f '/home/Administrator/oldfiles.txt' /usr/bin/find.exe /e/work/DBA_Scripts -depth -type f -mtime -4 -exec rm -f {} \; date >> oldfiles.txt When this file is executed from the command shell, it executes as expected. When it is executed from a Cron job, the find command seems to do nothing. Anyone know why this is so? Regards, James Nallen, NUI Maynooth, Co. Kildare, Ireland. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/