fix(core/cron): update cron manager logic

This commit is contained in:
LIghtJUNction
2026-03-22 19:08:54 +08:00
parent 95ba23c3ab
commit 3a9bbcfdee

View File

@@ -176,7 +176,7 @@ class CronJobManager:
replace_existing=True,
misfire_grace_time=30,
)
asyncio.create_task(
asyncio.create_task( # noqa: RUF006
self.db.update_cron_job(
job.job_id, next_run_time=self._get_next_run_time(job.job_id)
)