diff --git a/src/etc/daily b/src/etc/daily index b92916a5..c0d3a051 100644 --- a/src/etc/daily +++ b/src/etc/daily @@ -6,6 +6,12 @@ PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local host=`hostname -s` echo "Subject: $host daily run output" +if [ -f /etc/daily.local ];then + echo "" + echo "Running daily.local:" + . /etc/daily.local +fi + echo "" echo "Removing scratch and junk files:" if [ -d /tmp -a ! -h /tmp ]; then diff --git a/src/etc/monthly b/src/etc/monthly index 2a5e77e4..a545d8ce 100644 --- a/src/etc/monthly +++ b/src/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 "." diff --git a/src/etc/weekly b/src/etc/weekly index c60679e8..5878ed13 100644 --- a/src/etc/weekly +++ b/src/etc/weekly @@ -9,6 +9,12 @@ export PATH host=`hostname -s` echo "Subject: $host weekly run output" +if [ -f /etc/weekly.local ];then + echo "" + echo "Running weekly.local:" + . /etc/weekly.local +fi + #echo "" #echo "Removing old .o files:" #find /usr/src -name '*.o' -atime +21 -print -a -exec rm -f {} \;