git://git.onelab.eu
/
myplc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
581cb74
)
- generate sites.xml on www
author
Mark Huang
<mlhuang@cs.princeton.edu>
Wed, 7 Feb 2007 23:21:27 +0000
(23:21 +0000)
committer
Mark Huang
<mlhuang@cs.princeton.edu>
Wed, 7 Feb 2007 23:21:27 +0000
(23:21 +0000)
plc.d/crond
patch
|
blob
|
history
diff --git
a/plc.d/crond
b/plc.d/crond
index
8ad9fdd
..
39cc1e5
100755
(executable)
--- a/
plc.d/crond
+++ b/
plc.d/crond
@@
-7,7
+7,7
@@
# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2006 The Trustees of Princeton University
#
# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2006 The Trustees of Princeton University
#
-# $Id: crond,v 1.
7 2007/01/18 22:10:33
mlhuang Exp $
+# $Id: crond,v 1.
8 2007/01/26 05:54:35
mlhuang Exp $
#
# Source function library and configuration
#
# Source function library and configuration
@@
-44,7
+44,6
@@
EOF
if [ "$PLC_BOOT_ENABLED" = "1" ] ; then
echo "*/5 * * * * root gen-slices-xml-05.py" >>/etc/cron.d/plc.cron
if [ "$PLC_BOOT_ENABLED" = "1" ] ; then
echo "*/5 * * * * root gen-slices-xml-05.py" >>/etc/cron.d/plc.cron
- echo "*/15 * * * * root gen-sites-xml.py" >>/etc/cron.d/plc.cron
gen-slices-xml-05.py
check
gen-sites-xml.py
gen-slices-xml-05.py
check
gen-sites-xml.py
@@
-53,6
+52,7
@@
EOF
if [ "$PLC_WWW_ENABLED" = "1" ] ; then
echo "*/15 * * * * root gen-static-content.py" >>/etc/cron.d/plc.cron
if [ "$PLC_WWW_ENABLED" = "1" ] ; then
echo "*/15 * * * * root gen-static-content.py" >>/etc/cron.d/plc.cron
+ echo "*/15 * * * * root gen-sites-xml.py" >>/etc/cron.d/plc.cron
echo "00 * * * * wget -O - -q http://localhost/cron.php" >>/etc/cron.d/plc.cron
gen-static-content.py
check
echo "00 * * * * wget -O - -q http://localhost/cron.php" >>/etc/cron.d/plc.cron
gen-static-content.py
check