[Piuparts-commits] rev 334 - piatti piatti/home/piupartsm trunk
Holger Levsen
holger at alioth.debian.org
Fri Apr 10 23:07:37 UTC 2009
Author: holger
Date: 2009-04-10 23:07:37 +0000 (Fri, 10 Apr 2009)
New Revision: 334
Modified:
piatti/README.txt
piatti/home/piupartsm/crontab
trunk/TODO
Log:
send one mail, not two
Modified: piatti/README.txt
===================================================================
--- piatti/README.txt 2009-04-09 08:43:53 UTC (rev 333)
+++ piatti/README.txt 2009-04-10 23:07:37 UTC (rev 334)
@@ -74,7 +74,7 @@
holger at piatti:~$ sudo /home/piupartss/bin/slave_run
----
-There is a cronjob installed (in '~piupartsm/crontab') which sends a mail with the tail of the session every six hours.
+There are several cronjobs installed via '~piupartsm/crontab' and '~piupartss/crontab') which monitor the slave and the host it's running on.
=== Joining an existing slave session
Modified: piatti/home/piupartsm/crontab
===================================================================
--- piatti/home/piupartsm/crontab 2009-04-09 08:43:53 UTC (rev 333)
+++ piatti/home/piupartsm/crontab 2009-04-10 23:07:37 UTC (rev 334)
@@ -8,12 +8,12 @@
# create reports once a day
# (dinstall runs 1|7|13|19:52, so this is long after mirror pushes...)
#
-5 0 * * * PYTHONPATH=/org/piuparts.debian.org/lib/python2.4/site-packages:/org/piuparts.debian.org/lib/python2.5/site-packages nice python /org/piuparts.debian.org/share/piuparts/piuparts-report | mail -s piuparts-report piupartsm
+5 0 * * * PYTHONPATH=/org/piuparts.debian.org/lib/python2.4/site-packages:/org/piuparts.debian.org/lib/python2.5/site-packages nice python /org/piuparts.debian.org/share/piuparts/piuparts-report 2>&1 | mail -s piuparts-report piupartsm
#
# monitor slave session every hour
#
-23 * * * * /home/piupartsm/bin/detect_slave_problems
+23 * * * * /home/piupartsm/bin/detect_slave_problems
#
# make sure slave is reminded daily (and also monitored if not started with ~piupartss/bin/slave_run)
Modified: trunk/TODO
===================================================================
--- trunk/TODO 2009-04-09 08:43:53 UTC (rev 333)
+++ trunk/TODO 2009-04-10 23:07:37 UTC (rev 334)
@@ -10,8 +10,12 @@
--- include pts links
--- include links to logfiles in source summary pages
--- include links to http://qa.debian.org/developer.php?login=$maintainer_email
+--- dont write counts.txt if it has already been written that day
+-- slave
+--- mention distro when sending logs
+--- slave_run: cleanup stale proc mountpoints
+--- cronjob: warn about 10 or more tmp filesystems...
- then R
-- dont write counts.txt if it has already been written that day
- take care of old conf files on upgrades
- take care of old pyc files from python-central
- test pipuparts with piuparts before uploading
More information about the Piuparts-commits
mailing list