freebsd-dev/etc/periodic/daily/130.clean-msgs
Paul Traina 12c88fdf8b Copy /etc/cron.d to /etc/periodic per-request of many.
This wasn't done with a repository copy because there was no
history of any consequence.  Flames to me.
1997-08-16 17:04:02 +00:00

12 lines
223 B
Bash
Executable File

#!/bin/sh
#
# $Id: 130.clean-msgs,v 1.1.1.1 1997/08/12 17:51:15 pst Exp $
#
# remove system messages older than 21 days
#
if [ -d /var/msgs ] ; then
echo
echo "Cleaning out old system announcements:"
msgs -c
fi