bot: Check expiries on start
All checks were successful
Build Docker / Build Docker (push) Successful in 17s
All checks were successful
Build Docker / Build Docker (push) Successful in 17s
This commit is contained in:
parent
a7864afde2
commit
34a2b70653
4
bot.py
4
bot.py
@ -400,4 +400,6 @@ client.run(TOKEN)
|
|||||||
# Every 12 hours check for SSL expiry
|
# Every 12 hours check for SSL expiry
|
||||||
scheduler = AsyncIOScheduler()
|
scheduler = AsyncIOScheduler()
|
||||||
scheduler.add_job(checkForSSLExpiry, 'interval', hours=12)
|
scheduler.add_job(checkForSSLExpiry, 'interval', hours=12)
|
||||||
scheduler.start()
|
scheduler.start()
|
||||||
|
|
||||||
|
checkForSSLExpiry()
|
Loading…
Reference in New Issue
Block a user