[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.49-36-gfb8bdc7
Andreas Beckmann
anbe at debian.org
Fri Feb 8 10:45:34 UTC 2013
The following commit has been merged in the develop branch:
commit 0c80d81663e77b849ca75e84be320bc6afdc64a5
Author: Andreas Beckmann <anbe at debian.org>
Date: Sat Jan 26 21:08:47 2013 +0100
detect_tmp_cruft: move to slave-bin and run from slave crontab
this is a script for the slave
Signed-off-by: Andreas Beckmann <anbe at debian.org>
diff --git a/conf/crontab-slave b/conf/crontab-slave
index 7da94b1..6ab265e 100644
--- a/conf/crontab-slave
+++ b/conf/crontab-slave
@@ -14,3 +14,7 @@
#
23 */6 * * * $HOME/bin/detect_leftover_processes
+#
+# monitor for cruft in the temporary directory once a day
+#
+00 0 * * * $HOME/bin/detect_tmp_cruft
diff --git a/debian/changelog b/debian/changelog
index b7c9086..8f6abfc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -22,6 +22,8 @@ piuparts (0.50) UNRELEASED; urgency=low
* slave_{run,join,cleanup}: Use pgrep to find running processes.
* detect_leftover_processes: Move statefile to slave-directory.
* detect_stale_mounts: Merge into detect_tmp_cruft.
+ * detect_tmp_cruft: Move to slave-bin and run from slave
+ crontab.
-- Andreas Beckmann <debian at abeckmann.de> Tue, 15 Jan 2013 11:51:43 +0100
diff --git a/master-bin/generate_daily_report b/master-bin/generate_daily_report
index cdfef8b..6b545c1 100755
--- a/master-bin/generate_daily_report
+++ b/master-bin/generate_daily_report
@@ -57,7 +57,7 @@ date > $LOCKFILE
# various scripts to detect issues and cleanup
#
OUTPUT=$(mktemp)
-for SCRIPT in detect_stale_mounts detect_tmp_cruft detect_network_issues detect_piuparts_issues archive_old_logs report_newly_bugged_packages ; do
+for SCRIPT in detect_network_issues detect_piuparts_issues archive_old_logs report_newly_bugged_packages ; do
~/bin/$SCRIPT 2>&1 > $OUTPUT
if [ -s $OUTPUT ] ; then
cat $OUTPUT | mail -s $SCRIPT $LOGNAME
diff --git a/master-bin/detect_tmp_cruft b/slave-bin/detect_tmp_cruft
similarity index 100%
rename from master-bin/detect_tmp_cruft
rename to slave-bin/detect_tmp_cruft
--
piuparts git repository
More information about the Piuparts-commits
mailing list