This is the mail archive of the
mailing list for the Cygwin project.
unexpected behaviour of 'find' command
- To: cygwin at cygwin dot com
- Subject: unexpected behaviour of 'find' command
- From: James Nallen <James dot Nallen at may dot ie>
- Date: Tue, 28 Aug 2001 12:16:05 +0100
I'm running cygwin-1.3.2, setup-220.127.116.11 on w2k pro in stand-alone mode.
The following file,
-rwxr-xr-x 1 Administ None 154 Aug 28 11:43 del_oldfiles.out
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?
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html