From d9c5fb19e8224cae56b0deccc9b4aa5acea29808 Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Wed, 7 Feb 2007 23:54:35 +0000 Subject: [PATCH] - move gen-sites-xml.py one shot to www --- plc.d/crond | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/plc.d/crond b/plc.d/crond index 39cc1e5..0c58bd0 100755 --- a/plc.d/crond +++ b/plc.d/crond @@ -7,7 +7,7 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: crond,v 1.8 2007/01/26 05:54:35 mlhuang Exp $ +# $Id: crond,v 1.9 2007/02/07 23:21:27 mlhuang Exp $ # # Source function library and configuration @@ -46,8 +46,6 @@ EOF echo "*/5 * * * * root gen-slices-xml-05.py" >>/etc/cron.d/plc.cron gen-slices-xml-05.py check - gen-sites-xml.py - check fi if [ "$PLC_WWW_ENABLED" = "1" ] ; then @@ -56,6 +54,10 @@ EOF echo "00 * * * * wget -O - -q http://localhost/cron.php" >>/etc/cron.d/plc.cron gen-static-content.py check + gen-sites-xml.py + check + wget -O - -q http://localhost/cron.php + check fi if [ "$PLC_DNS_ENABLED" = "1" ] ; then -- 2.43.0