From af4cf1475b4ddbff4659c6527c6dfd4a4f7649ef Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Fri, 26 Jan 2007 05:54:35 +0000 Subject: [PATCH] run drupal cron every hour --- plc.d/crond | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.43.0