adding sfa-cm cron job configuration
Tony Mack [Wed, 17 Feb 2010 21:43:34 +0000 (21:43 +0000)]
PlanetLabConf/sfa_component_setup.cron [new file with mode: 0644]
PlanetLabConf/sfa_component_setup_cron.php [new file with mode: 0644]

diff --git a/PlanetLabConf/sfa_component_setup.cron b/PlanetLabConf/sfa_component_setup.cron
new file mode 100644 (file)
index 0000000..beda80d
--- /dev/null
@@ -0,0 +1,10 @@
+SHELL=/bin/bash
+PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin
+MAILTO=root
+HOME=/
+#
+# minute hour day-of-month month day-of-week user command
+# download the trusted gids from the registry every hour 
+0 */1 * * *  root /usr/bin/sfa_component_setup.py -c > /dev/null 2>&1
+# download the slice gids every 30 minutes
+*/30 * * * *  root /usr/bin/sfa_component_setup.py -g > /dev/null 2>&1
diff --git a/PlanetLabConf/sfa_component_setup_cron.php b/PlanetLabConf/sfa_component_setup_cron.php
new file mode 100644 (file)
index 0000000..67602cb
--- /dev/null
@@ -0,0 +1,13 @@
+<?php
+//
+// installs the sfa_component_setup cron job  
+//
+// $Id:
+//
+
+$default_name = "sfa_component_setup.cron";
+$file_name = $default_name;
+readfile($file_name);
+exit();
+
+?>