I recently noticed that none of my log files were being cleaned.  After
running some  experiments I found that cron was not allowing jobs to delete
files.  I'm not getting any error messages in syslog or /var/adm/messages. 
I don't have a cron.allow, cron.deny, at.allow, or at.deny.  I'm running
DEC UNIX v3.2c.  My /sbin/init.d/cron and root crontab file are the only
config file that I'm aware. What am I missing?
Listing of /sbin/init.d/cron :
#!/bin/sh
# Start the cron deamon
PATH=/sbin:/usr/sbin:/usr/bin
export PATH
case "$1" in
'start')
        set `who -r`
        if [ $9 = "S" ]; then
                rm -f /var/adm/cron/FIFO
                if /usr/sbin/cron; then
                        echo "Cron service started"
                else
                        echo "Unable to start cron service"
                fi
        fi
        ;;
'stop')
        pid=`/bin/ps -e | grep cron | sed -e 's/^  *//' -e 's/ .*//' | head
-1`
        if [ "X$pid" != "X" ]
        then
                /bin/kill $pid
        fi
        ;;
*)
        echo "usage: $0 {start|stop}"
        ;;
esac
Listing of /var/spool/cron/crontabs/root :
#
#       root crontab file
#
### Housekeeping
20 1 * * * find /var/preserve -mtime +7 -type f -exec rm -f {} \;
25 1 * * * find /tmp  -type f -atime +2 -exec rm -f {} \; 
30 1 * * * find /var/tmp -type f -atime +7 -exec rm -f {} \; 
35 1 * * * find /var/adm/syslog.dated -depth -type d -ctime +14 -exec rm
-rf {} \;
### Update mailing lists:
20 7,17 * * * /usr/local/majordomo/gengrouplists
### Modem logs
0 0 * * * /usr/annex/dialupusage/bin/annexlog -rotate -total
### Web logs
15 1 * * * /usr/users/sysadmin/bin/rotsvr
30 1 * * * /usr/users/sysadmin/bin/weblogs -latest -genindex -subdirs
0 2 * * * /usr/users/sysadmin/bin/weblogs -sub -farm
/www/brainerd/webmaster/logs
30 4 * * 1 /usr/users/sysadmin/bin/weblogs -total -subdirs -genindex
### Create public_html directories
15 3 * * * /usr/users/sysadmin/bin/makePublicHtml
### Update Annex Terminal Server Passwords
6 * * * * grep Lkr_Usr_ /etc/passwd > /usr/annex/acp_passwd
### backup
2 4 * * 1,2,3,4,5 /usr/users/sysadmin/bin/bruback
### Rotate ascend.archive File at Beginning of Month
5 3 1 * * /usr/users/sysadmin/bin/rotascend
-- 
Ben Maas                                CCCCCCCCCCTTTTTTTTT CCCCCCCCCC
Internet Rep / System Administration   CCCCCCCCCCCTTTTTTTTTCCCCCCCCCCC
o=====================================================================
bmaas_at_brainerd.net                     CCCCCCCCCCC  TTTTT  CCCCCCCCCCC
http://www.consolidatedtel.net          CCCCCCCCCC  TTTTT   CCCCCCCCCC
Vox: (218)829-3531 x205                 CONSOLIDATED TELEPHONE COMPANY
Fax: (218)829-5146
With a rubber duck, one's never alone.
                -- "The Hitchhiker's Guide to the Galaxy"
Received on Thu Apr 16 1998 - 23:55:02 NZST