Merge pull request #3 from shihaamabr/test-extended-sleep

Test extended sleep
This commit is contained in:
Shihaam Abdul Rahman 2021-09-19 23:22:29 +05:00 committed by GitHub
commit 990ddfb70f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -58,6 +58,8 @@ req_history
if [ "$LOGIN_STATUS" != "true" ] if [ "$LOGIN_STATUS" != "true" ]
then then
echo "Looks like app or web was opened... checking again in $APP_OPEN_DELAY"
sleep $APP_OPEN_DELAY
login login
break & loop break & loop
fi fi

View File

@ -3,6 +3,8 @@ BML_USERNAME='' #Your BML Username
BML_PASSWORD='' #Your BML Password BML_PASSWORD='' #Your BML Password
BML_ACCOUNTID='' #Your BML Account ID,NOT to be confused with account number, read the README.md on how to obtain this. BML_ACCOUNTID='' #Your BML Account ID,NOT to be confused with account number, read the README.md on how to obtain this.
APP_OPEN_DELAY='600'
TG_BOT_TOKEN='' #Your Telegram Bot API Token, Contact @BotFather on Telegram to obtain token TG_BOT_TOKEN='' #Your Telegram Bot API Token, Contact @BotFather on Telegram to obtain token
TG_CHATID='' #Your Telegram chat ID, This could be your user, group, supergroup or channel ID, add "-100" first if supergroup or channel TG_CHATID='' #Your Telegram chat ID, This could be your user, group, supergroup or channel ID, add "-100" first if supergroup or channel