mirror of
https://github.com/Balshgit/mosgortrans.git
synced 2025-12-16 21:50:39 +03:00
cron to top of file
This commit is contained in:
2
main.py
2
main.py
@@ -99,7 +99,7 @@ def asyncio_schedule() -> None:
|
|||||||
|
|
||||||
scheduler = AsyncIOScheduler()
|
scheduler = AsyncIOScheduler()
|
||||||
for cron in cron_jobs:
|
for cron in cron_jobs:
|
||||||
scheduler.add_job(send_message, **cron)
|
scheduler.add_job(send_message, kwargs=user_chat_ids, **cron)
|
||||||
scheduler.start()
|
scheduler.start()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user