mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-16 01:40:15 +08:00
fix(core/cron): update cron manager logic
This commit is contained in:
@@ -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)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user