no 69 alert public
This commit is contained in:
parent
1af6558448
commit
2834f229b8
@ -12,6 +12,12 @@ source .env
|
||||
else
|
||||
TEXT="🔴BML Down"
|
||||
STATUS=DOWN
|
||||
BOTSTATUS$(curl -si https://bmlstatus.shihaam.dev/login | head -n1 | awk '{print $2}')
|
||||
if [ "$BOTSTATUS" = 69" ]
|
||||
then
|
||||
curl -s $TG_BOTAPI$TG_BOT_TOKEN/sendMessage?chat_id=$PROXY_ALERT_CHATID'&'text=${TGTEXT}${BOTSTATUS}
|
||||
STATUS_OLD=$STATUS
|
||||
fi
|
||||
fi
|
||||
if [ "$STATUS" != "$STATUS_OLD" ]
|
||||
then
|
||||
|
Loading…
x
Reference in New Issue
Block a user