[Python-apps-commits] r11592 - in packages/slapos.core/trunk/debian (2 files)

arnau at users.alioth.debian.org arnau at users.alioth.debian.org
Thu Nov 20 06:48:37 UTC 2014


    Date: Thursday, November 20, 2014 @ 06:48:36
  Author: arnau
Revision: 11592

Fix wrong crontab making the package unuseable with master node.

Modified:
  packages/slapos.core/trunk/debian/changelog
  packages/slapos.core/trunk/debian/slapos-node-unofficial.cron.d

Modified: packages/slapos.core/trunk/debian/changelog
===================================================================
--- packages/slapos.core/trunk/debian/changelog	2014-11-20 06:46:30 UTC (rev 11591)
+++ packages/slapos.core/trunk/debian/changelog	2014-11-20 06:48:36 UTC (rev 11592)
@@ -2,6 +2,8 @@
 
   * d/control: Depends on python-psutil >= 2.0.0 due to API change leading
     to AttributeError when running 'slapos node collect' subcommand.
+  * d/slapos-node-unofficial.cron.d: Fix wrong crontab making the package
+    unuseable with master node.
 
  -- Arnaud Fontaine <arnau at debian.org>  Thu, 20 Nov 2014 15:41:24 +0900
 

Modified: packages/slapos.core/trunk/debian/slapos-node-unofficial.cron.d
===================================================================
--- packages/slapos.core/trunk/debian/slapos-node-unofficial.cron.d	2014-11-20 06:46:30 UTC (rev 11591)
+++ packages/slapos.core/trunk/debian/slapos-node-unofficial.cron.d	2014-11-20 06:48:36 UTC (rev 11592)
@@ -2,7 +2,18 @@
 PATH=/usr/bin:/usr/sbin:/sbin:/bin
 MAILTO=root
 
-*/5 * * * *	root	/usr/bin/slapos node software --log-file=/var/log/slapos/slapos-node-software.log
-*/5 * * * *	root	/usr/bin/slapos node instance --log-file=/var/log/slapos/slapos-node-instance.log
-0   0 * * *	root	/usr/bin/slapos node report --log-file=/var/log/slapos/slapos-node-report.log
-0 0 * * *	root	/usr/bin/slapos node format
+# Run "Installation/Destruction of Software Releases" and "Deploy/Start/Stop Partitions" once per minute
+* * * * *       root    /usr/bin/slapos node software --verbose --logfile=/var/log/slapos/slapos-node-software.log --pidfile=/var/run/slapos-node-software.pid > /dev/null 2>&1
+* * * * *       root    /usr/bin/slapos node instance --promise-timeout 20 --verbose --log-file=/var/log/slapos/slapos-node-instance.log --pidfile=/var/run/slapos-node-instance.pid > /dev/null 2>&1
+
+# Run "Destroy Partitions to be destroyed" once per hour
+0 * * * *       root    /usr/bin/slapos node report --maximal_delay=3600 --verbose --logfile=/var/log/slapos/slapos-node-report.log > /dev/null 2>&1
+
+# Run "Check/add IPs and so on" once per hour
+0 * * * *       root    /usr/bin/slapos node format >> /var/log/slapos/slapos-node-format.log 2>&1
+
+# Run "Booting" on every system start
+ at reboot         root    /usr/bin/slapos node boot >> /var/log/slapos/slapos-node-boot.log 2>&1
+
+# Run "Collect" once a minute
+* * * * *       root    /usr/bin/slapos node collect >> /var/log/slapos/slapos-node-collect.log 2>&1




More information about the Python-apps-commits mailing list