mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +00:00
change
This commit is contained in:
parent
c165303306
commit
30f151a565
1 changed files with 2 additions and 1 deletions
|
|
@ -116,6 +116,7 @@ async def clear_reqdict():
|
|||
PYPI_DICT.clear()
|
||||
try:
|
||||
os.rmdir("downloads")
|
||||
os.remove("MissKatyLogs.txt")
|
||||
except:
|
||||
pass
|
||||
|
||||
|
|
@ -369,5 +370,5 @@ async def callbackaft_dahada(c, q):
|
|||
|
||||
|
||||
scheduler = AsyncIOScheduler(timezone="Asia/Jakarta")
|
||||
scheduler.add_job(clear_reqdict, trigger="cron", hour=7, minute=0)
|
||||
scheduler.add_job(clear_reqdict, trigger="cron", hour=2, minute=0)
|
||||
scheduler.start()
|
||||
|
|
|
|||
Loading…
Reference in a new issue