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:
576b977
)
use the FQDN for PLC_WWW_HOST rather than localhost to get cron.php
4.2
4.2
author
Marc Fiuczynski
<mef@cs.princeton.edu>
Sun, 21 Jun 2009 03:54:19 +0000
(
03:54
+0000)
committer
Marc Fiuczynski
<mef@cs.princeton.edu>
Sun, 21 Jun 2009 03:54:19 +0000
(
03:54
+0000)
plc.d/crond
patch
|
blob
|
history
diff --git
a/plc.d/crond
b/plc.d/crond
index
c4275c8
..
67a745e
100755
(executable)
--- a/
plc.d/crond
+++ b/
plc.d/crond
@@
-43,8
+43,8
@@
EOF
# Run all jobs once at startup
if [ "$PLC_WWW_ENABLED" = "1" ] ; then
- echo "00 * * * * wget -O - -q http://
localhost
/cron.php" >>/etc/cron.d/plc.cron
- wget -O - -q http://
localhost
/cron.php
+ echo "00 * * * * wget -O - -q http://
${PLC_WWW_HOST}
/cron.php" >>/etc/cron.d/plc.cron
+ wget -O - -q http://
${PLC_WWW_HOST}
/cron.php
check
fi