diff options
author | David Krause <david@cvs.openbsd.org> | 1995-12-19 13:14:16 +0000 |
---|---|---|
committer | David Krause <david@cvs.openbsd.org> | 1995-12-19 13:14:16 +0000 |
commit | 8e88fbbd1fff6c29a026949b8eb9adf35cc7674e (patch) | |
tree | 5255e881d3857256ba95626d08ba1220ed4086db /etc/monthly | |
parent | fc79c5b025c738ef39f68daa10100f364c71a6b7 (diff) |
check for /etc/{daily,weekly,monthly}.local and run if they exist
Diffstat (limited to 'etc/monthly')
-rw-r--r-- | etc/monthly | 9 |
1 files changed, 8 insertions, 1 deletions
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 "." |