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:
f281676
)
run drupal cron every hour
author
Mark Huang
<mlhuang@cs.princeton.edu>
Fri, 26 Jan 2007 05:54:35 +0000
(
05:54
+0000)
committer
Mark Huang
<mlhuang@cs.princeton.edu>
Fri, 26 Jan 2007 05:54:35 +0000
(
05:54
+0000)
plc.d/crond
patch
|
blob
|
history
diff --git
a/plc.d/crond
b/plc.d/crond
index
7751577
..
8ad9fdd
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.
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
#
# 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
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
gen-static-content.py
check
fi