kk003

kk003_TELEGRAM_ALERTS

Dec 18th, 2018
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. source ~/1bash
  4.  
  5. BITCOIN="theGROUND"
  6.  
  7. while [ $BITCOIN == "theGROUND" ]
  8. do
  9.  
  10. TIMEIN=$TELEGRAM_TIMEOUT_IN_MINUTES
  11.  
  12. TIMEOUT=$(($TIMEIN * 60))
  13.  
  14. bash '/home/m1/kk003_telegram'
  15. sleep 2
  16. echo ""
  17. echo "New check for Telegram alerts in $TIMEOUT seconds"
  18. sleep $TIMEOUT
  19. echo ""
  20. done
  21. fi
Advertisement
Add Comment
Please, Sign In to add comment