diff options
| author | Lotus <lotus@localhost> | 2012-03-12 09:30:44 +0100 |
|---|---|---|
| committer | Lotus <lotus@localhost> | 2012-03-12 09:30:44 +0100 |
| commit | e14eb9de829ba52bd9db9305f02a2717ce61aff4 (patch) | |
| tree | fa719912df7a443a76cf935f16496113d4ce6891 | |
| parent | 7792ac6406fd2ce8e988642a89039b9ca4d1e9ca (diff) | |
checkalive.sh: try to fetch only once (default: 20)
| -rwxr-xr-x | bin/checkalive.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
