[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

/etc/daily.cron/man broken by Debian 1.2?




Apparently the upgrade from Debian 1.1 to 1.2 broke a daily cron job
which cleans up old catman files. The script used to work without any
problem before the upgrade; now I get daily error messages to root.

It's a minor annoyance, but I haven't found out the reason for it
yet. Any ideas?

Thanks, 

Jim
 
First, the script /etc/cron.daily/man:

#!/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 find /var/catman -type f -name '*.gz' -atime +7 -print | xargs rm -f

# expunge old catman pages which are older than one month
/usr/bin/nice find /var/catman -type f -name '*.gz' -mtime +30 -print | xargs rm -f

exit 0

The typical error message:

>From root@yardbird.mat.jhu.edu Sat Dec 21 06:45:33 1996
Received: (from root@localhost) by yardbird.mat.jhu.edu (8.7.6/8.7.3) id GAA00636 for root; Sat, 21 Dec 1996 06:43:49 -0500
Date: Sat, 21 Dec 1996 06:43:49 -0500
Message-Id: <199612211143.GAA00636@yardbird.mat.jhu.edu>
From: root@yardbird.mat.jhu.edu (Cron Daemon)
To: root@yardbird.mat.jhu.edu
Subject: Cron <root@yardbird> run-parts /etc/cron.daily
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <LOGNAME=root>

/usr/bin/nice: find: Not a directory
xargs: rm: Not a directory
/usr/bin/nice: find: Not a directory
xargs: rm: Not a directory



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