cron to top of file

This commit is contained in:
Dmitry Afanasyev 2022-08-08 20:56:32 +03:00
parent 7f5655e198
commit dcedadebc1

View File

@ -99,7 +99,7 @@ def asyncio_schedule() -> None:
scheduler = AsyncIOScheduler()
for cron in cron_jobs:
scheduler.add_job(send_message, **cron)
scheduler.add_job(send_message, kwargs=user_chat_ids, **cron)
scheduler.start()