From: Mark Huang Date: Fri, 26 Jan 2007 05:54:35 +0000 (+0000) Subject: run drupal cron every hour X-Git-Tag: planetlab-4_0-rc1~26 X-Git-Url: http://git.onelab.eu/?p=myplc.git;a=commitdiff_plain;h=af4cf1475b4ddbff4659c6527c6dfd4a4f7649ef run drupal cron every hour --- diff --git a/plc.d/crond b/plc.d/crond index 7751577..8ad9fdd 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.6 2006/12/12 22:23:04 mlhuang Exp $ +# $Id: crond,v 1.7 2007/01/18 22:10:33 mlhuang Exp $ # # Source function library and configuration @@ -53,6 +53,7 @@ EOF if [ "$PLC_WWW_ENABLED" = "1" ] ; then echo "*/15 * * * * root gen-static-content.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 fi