
daily.conf, weekly.conf and montly.conf. the file allows each action taken by all scripts to be turned on or off.
22 lines
338 B
Bash
22 lines
338 B
Bash
#!/bin/sh -
|
|
#
|
|
# $NetBSD: monthly,v 1.5 1997/01/05 11:21:11 mrg Exp $
|
|
# @(#)monthly 5.5 (Berkeley) 6/17/91
|
|
#
|
|
|
|
host=`hostname -s`
|
|
echo "Subject: $host monthly run output"
|
|
|
|
umask 077
|
|
|
|
if [ -s /etc/monthly.conf ]; then
|
|
. /etc/monthly.conf
|
|
fi
|
|
|
|
# echo ""
|
|
# echo "Doing login accounting:"
|
|
# ac -p | sort -nr +1
|
|
|
|
echo "Nothing to do!"
|
|
#echo "."
|