From f781a17e3f72c66e257f8227e3630c14e30d093e Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Wed, 7 Feb 2007 23:21:27 +0000 Subject: [PATCH] - generate sites.xml on www --- plc.d/crond | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plc.d/crond b/plc.d/crond index 8ad9fdd..39cc1e5 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.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 @@ -44,7 +44,6 @@ EOF 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 @@ -53,6 +52,7 @@ EOF 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 -- 2.43.0