[BACK]Return to monthly CVS log [TXT][DIR] Up to [local] / src / etc

File: [local] / src / etc / monthly (download)

Revision 1.2, Tue Dec 19 13:14:14 1995 UTC (28 years, 5 months ago) by david
Branch: MAIN
Changes since 1.1: +8 -1 lines

check for /etc/{daily,weekly,monthly}.local and run if they exist

#!/bin/sh -
#
#	@(#)monthly	5.5 (Berkeley) 6/17/91
#

host=`hostname -s`
echo "Subject: $host monthly run output"

if [ -f /etc/monthly.local ];then
	echo ""
	echo "Running monthly.local:"
	. /etc/monthly.local
else
	echo "Nothing to do!"
fi

# echo ""
# echo "Doing login accounting:"
# ac -p | sort -nr +1

# Rotation of these logs now handled automatically by cron and 'newsyslog':
#	kerberos.log
#	lpd-errs
#	wtmp
#	aculog
#	cron

#echo "."