From e14eb9de829ba52bd9db9305f02a2717ce61aff4 Mon Sep 17 00:00:00 2001 From: Lotus Date: Mon, 12 Mar 2012 09:30:44 +0100 Subject: [PATCH] checkalive.sh: try to fetch only once (default: 20) --- bin/checkalive.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/checkalive.sh b/bin/checkalive.sh index 870ac4e7a..c86565194 100755 --- a/bin/checkalive.sh +++ b/bin/checkalive.sh @@ -3,7 +3,7 @@ # add in /etc/crontab # 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 for x in $RESULT; do