diff options
-rw-r--r-- | main.py | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -74,9 +74,8 @@ def check(): print(f"Alert! BTC price is {btc_price} USD. Email sent.") -check() -# schedule.every().hour.do(check) +schedule.every().hour.do(check) -# while True: -# schedule.run_pending() -# time.sleep(1) +while True: + schedule.run_pending() + time.sleep(1) |