Skip to content

Commit

Permalink
+cf check sh
Browse files Browse the repository at this point in the history
  • Loading branch information
EtherDream committed Jul 2, 2019
1 parent c6d0e97 commit fdd6cfa
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
19 changes: 19 additions & 0 deletions check.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
CF_HOSTS=(
shrill-unit-8594.jsproxy.workers.dev
a.007.workers.dev
a.hehe.workers.dev
a.lulu.workers.dev
)

while true; do
for v in ${CF_HOSTS[@]}; do
if [[ $(curl -s https://$v/works) != "it works" ]]; then
echo "https://$v err"
else
echo "https://$v ok"
fi
done

sleep 5
clear
done
1 change: 1 addition & 0 deletions upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ NODE=(
# aliyun-hk-1
aliyun-hk-2
aliyun-hk-3
aliyun-hk-4
aliyun-sg
)
for v in ${NODE[@]}; do
Expand Down

0 comments on commit fdd6cfa

Please sign in to comment.