/etc/daily.cron/man broken by Debian 1.2?
Upgrading to debian 1.2 broke /etc/cron.daily/man; the fix seems to be to
use full path names for find and rm. I don't know why cron reported to
root that it had a PATH sufficient to do the job when this was not the
case. Thanks to Ralph and Fabrizio for replying!
Happy Holidays,
Jim
#!/bin/sh
#
# $Id: cron.daily,v 1.4 1996/02/17 16:09:20 alvar Exp $
#
# expunge old catman pages which have not been read in a week
/usr/bin/nice /usr/bin/find /var/catman -type f -name '*.gz' -atime +7 -print | xargs /bin/rm -f
# expunge old catman pages which are older than one month
/usr/bin/nice /usr/bin/find /var/catman -type f -name '*.gz' -mtime +30 -print | xargs /bin/rm -f
exit 0
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com
Reply to: