The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(cron): skip catch-up only with a future anchor
Teknium2bc471cb35a1
diff --git a/cron/jobs.py b/cron/jobs.pyindex 51d51a77e09..386599c3107 100644--- a/cron/jobs.py+++ b/cron/jobs.py@@ -2897,7 +2897,8 @@ def _fast_forward_missed_recurring(d: _DueJob, grace: int) -> bool:if not new_next:return Falsed.scan.persist(d.job["id"], next_run_at=new_next)- if not _cron_config_number("catch_up_missed", True, lambda value: value is not False):+ if (_ensure_aware(datetime.fromisoformat(new_next)) > d.scan.now+ and not _cron_config_number("catch_up_missed", True, lambda value: value is not False)):logger.info("Job '%s' missed its scheduled time (%s, grace=%ds). ""Skipping missed occurrence because cron.catch_up_missed is false; next run: %s",