bot: Check expiries on start
All checks were successful
Build Docker / Build Docker (push) Successful in 17s

This commit is contained in:
Nathan Woodburn 2023-10-01 22:45:21 +11:00
parent a7864afde2
commit 34a2b70653
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

4
bot.py
View File

@ -400,4 +400,6 @@ client.run(TOKEN)
# Every 12 hours check for SSL expiry
scheduler = AsyncIOScheduler()
scheduler.add_job(checkForSSLExpiry, 'interval', hours=12)
scheduler.start()
scheduler.start()
checkForSSLExpiry()