[Lsb-messages] /var/www/bzr/lsb/devel/puppet-lsb r253: Add cron jobs for weekly and monthly work reports on lfdev-s390x.

Jeff Licquia licquia at linuxfoundation.org
Thu Mar 15 19:35:57 UTC 2012


------------------------------------------------------------
revno: 253
committer: Jeff Licquia <licquia at linuxfoundation.org>
branch nick: puppet-lsb
timestamp: Thu 2012-03-15 15:35:57 -0400
message:
  Add cron jobs for weekly and monthly work reports on lfdev-s390x.
modified:
  manifests/nodes/lfdev-s390x.pp
-------------- next part --------------
=== modified file 'manifests/nodes/lfdev-s390x.pp'
--- a/manifests/nodes/lfdev-s390x.pp	2012-03-09 21:53:04 +0000
+++ b/manifests/nodes/lfdev-s390x.pp	2012-03-15 19:35:57 +0000
@@ -8,4 +8,20 @@
 
     include buildbot::slavechroot
 
+    # These are special entries for monitoring workload on the IBM server.
+
+    cron { 's390x-weekly-work-report':
+        command => '/opt/wureport/wureport | mail -s "Weekly work report for lfdev-s390x" licquia at linuxfoundation.org',
+        hour    => '20',
+        minute  => '0',
+        weekday => 'Sunday',
+    }
+
+    cron { 's390x-monthly-work-report':
+        command  => '/opt/wureport/wureport $(date -d "1 month ago" +%m/%d/%y) $(date +%m/%d/%y) | mail -s "Monthly work report for lfdev-s390x" licquia at linuxfoundation.org',
+        hour     => '5',
+        minute   => '0',
+        monthday => '1',
+    }
+
 }



More information about the lsb-messages mailing list