[1687] in testers
/etc/crontab
daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Thu Aug 1 04:20:41 1991
To: testers@ATHENA.MIT.EDU
Date: Thu, 01 Aug 91 04:20:51 EDT
From: John Carr <jfc@ATHENA.MIT.EDU>
On VAX and RT, the find command in crontab should use the "-rm" option:
40 4,22 * * * root csh -fc "(echo ' ========'; date; find /site/ -xdev '(' -name '#*' -o -name '.#*' -o -name '*~' -o -name core ')' -a -atime +3 -a -exec rm -f {} ';' -print) >>& /usr/adm/findlog"
15 4 * * * root find / -xdev -name core -type f -mtime +7 -exec rm -f {} ';'
should be
40 4,22 * * * root csh -fc "(echo ' ========'; date; find /site/ -xdev '(' -name '#*' -o -name '.#*' -o -name '*~' -o -name core ')' -a -atime +3 -a -rm -print) >>& /usr/adm/findlog"
15 4 * * * root find / -xdev -name core -type f -mtime +7 -rmf