From 8e88fbbd1fff6c29a026949b8eb9adf35cc7674e Mon Sep 17 00:00:00 2001 From: David Krause Date: Tue, 19 Dec 1995 13:14:16 +0000 Subject: check for /etc/{daily,weekly,monthly}.local and run if they exist --- etc/monthly | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'etc/monthly') diff --git a/etc/monthly b/etc/monthly index 2a5e77e47e8..a545d8cef16 100644 --- a/etc/monthly +++ b/etc/monthly @@ -6,6 +6,14 @@ 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 @@ -17,5 +25,4 @@ echo "Subject: $host monthly run output" # aculog # cron -echo "Nothing to do!" #echo "." -- cgit v1.2.3