[Piuparts-commits] [SCM] piatti.debian.org configuration files branch, master, updated. 148332ef45997ba3aaf38cc2c9a28441083bad49

Holger Levsen holger at layer-acht.org
Fri Dec 23 10:24:51 UTC 2011


The following commit has been merged in the master branch:
commit e759cf56b8d8fb117e1c3b6d6c622786f78e1644
Author: Holger Levsen <holger at layer-acht.org>
Date:   Wed Dec 21 11:52:40 2011 +0100

    run some scripts from within generate_daily_report

diff --git a/home/piupartsm/bin/generate_daily_report b/home/piupartsm/bin/generate_daily_report
index bb5a4c2..8394628 100755
--- a/home/piupartsm/bin/generate_daily_report
+++ b/home/piupartsm/bin/generate_daily_report
@@ -53,6 +53,14 @@ if [ -e $LOCKFILE ]; then
 fi
 date > $LOCKFILE
 
+# various scripts to detect issues and cleanup
+for SCRIPT in detect_stale_mounts detect_tmp_cruft detect_piuparts_issues archive_old_logs ; do
+  ~/bin/$SCRIPT 2>&1 | mail -s $SCRIPT $LOGNAME
+done
+
+#
+# piuparts-report starts here
+#
 DAILYREPORT=$HTDOCS/dailyreport.txt
 >$DAILYREPORT
 
diff --git a/home/piupartsm/crontab b/home/piupartsm/crontab
index 8aa9d06..5d0ce4d 100644
--- a/home/piupartsm/crontab
+++ b/home/piupartsm/crontab
@@ -18,17 +18,14 @@
 
 #
 # monitor for problems once a day
-#
-# FIXME now: use run-parts
-45 22 * * * $HOME/bin/detect_stale_mounts
-50 22 * * * $HOME/bin/detect_tmp_cruft
-55 22 * * * $HOME/bin/detect_network_issues
-0  23 * * * $HOME/bin/detect_archive_issues
-5  23 * * * $HOME/bin/detect_piuparts_issues
-10 23 * * * $HOME/bin/report_untestable_packages
-20 23 * * * $HOME/bin/report_stale_reserved_packages
-25 23 * * * $HOME/bin/archive_old_logs
-25  5 * * * $HOME/bin/reschedule_oldest_logs
+# - these may result in packages being retested
+# - if that's not the case, run them from within ~/bin/generate_daily_report
+#
+00 12 * * * $HOME/bin/reschedule_oldest_logs
+30 12 * * * $HOME/bin/detect_network_issues
+0  13 * * * $HOME/bin/detect_archive_issues
+30 13 * * * $HOME/bin/report_untestable_packages
+0  14 * * * $HOME/bin/report_stale_reserved_packages
 
 #
 # misc

-- 
piatti.debian.org configuration files



More information about the Piuparts-commits mailing list