checkalive.sh: try to fetch only once (default: 20)

pull/1/head
Lotus 13 years ago
parent 7792ac6406
commit e14eb9de82

@ -3,7 +3,7 @@
# add in /etc/crontab # add in /etc/crontab
# 0 * * * * yacy cd /home/yacy/production/bin && ./checkalive.sh # 0 * * * * yacy cd /home/yacy/production/bin && ./checkalive.sh
RESULT=`wget --spider http://localhost:8090/Status.html 2>&1` RESULT=`wget -t 1 --spider http://localhost:8090/Status.html 2>&1`
FLAG=0 FLAG=0
for x in $RESULT; do for x in $RESULT; do

Loading…
Cancel
Save