log for debug
This commit is contained in:
parent
937892a168
commit
1c8620cb12
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@
|
||||
.cookie
|
||||
.*.kate-swp
|
||||
.cache/*
|
||||
log.txt
|
||||
|
@ -4,7 +4,9 @@ while true;
|
||||
do
|
||||
source .env
|
||||
COUNT=$(echo $[$COUNT+1])
|
||||
STATUS=$(curl -s $BML_URL/login | jq .code)
|
||||
STATUS=$(curl -s $BML_URL/login)
|
||||
echo $STATUS >> log.txt
|
||||
STATUS=$(echo $STATUS | jq .code)
|
||||
if [ "$STATUS" = "0" ]
|
||||
then
|
||||
TEXT="🟢BML Online"
|
||||
|
Loading…
x
Reference in New Issue
Block a user