freebsd-skq/etc/cron.d/daily/140.clean-rwho
pst a671e01be7 Initial import of the replacements for /etc/{daily, weekly, monthly}.
Please note: I'm not activating this until I successfully get the changes
back into my local CVS repository to do one final check.  Early adopters
are welcome to send comments.
1997-08-12 17:51:16 +00:00

12 lines
171 B
Bash
Executable File

#!/bin/sh
#
# $Id$
#
if [ -d /var/rwho ] ; then
echo ""
echo "Removing stale files from /var/rwho"
cd /var/rwho && find . ! -name . -mtime +7 -exec rm -f -- {} \;
fi