Add fuzzy and text-classification light model #1
1 changed files with 12 additions and 0 deletions
12
await.sh
Executable file
12
await.sh
Executable file
|
@ -0,0 +1,12 @@
|
||||||
|
while [[ 1 == 1 ]]; do
|
||||||
|
/bin/sleep 10
|
||||||
|
code=$(curl -o /dev/null -s -w "%{http_code}\n" 10.10.10.8)
|
||||||
|
echo "10.10.10.8 return code $code"
|
||||||
|
|
||||||
|
if [ $code = '200' ]; then
|
||||||
|
exit 0;
|
||||||
|
else
|
||||||
|
echo "retrying in 10s";
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
Loading…
Add table
Reference in a new issue