cron: reload jobs store on each timer tick

This commit is contained in:
yzchen
2026-03-02 11:19:45 +08:00
parent a5962170f6
commit dba93ae83a
2 changed files with 31 additions and 0 deletions
+2
View File
@@ -226,6 +226,8 @@ class CronService:
async def _on_timer(self) -> None:
"""Handle timer tick - run due jobs."""
# Pick up external CLI/file changes before deciding due jobs.
self._load_store()
if not self._store:
return