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

2
bot.py
View File

@ -401,3 +401,5 @@ client.run(TOKEN)
scheduler = AsyncIOScheduler() scheduler = AsyncIOScheduler()
scheduler.add_job(checkForSSLExpiry, 'interval', hours=12) scheduler.add_job(checkForSSLExpiry, 'interval', hours=12)
scheduler.start() scheduler.start()
checkForSSLExpiry()