{"record":{"id":"8af72b272b4414ba","repo":"NousResearch/hermes-agent","slug":"cron-job-job-id-was-saved-but-its-first-sched","errorCode":null,"errorMessage":"Cron job '{job_id}' was saved, but its first scheduler registration failed ({cause_type}). Do not create a duplicate. Pause/resume or update the job to retry registration.","messagePattern":"Cron job '(.+?)' was saved, but its first scheduler registration failed \\((.+?)\\)\\. Do not create a duplicate\\. Pause/resume or update the job to retry registration\\.","errorType":"exception","errorClass":"CronSchedulerRegistrationError","httpStatus":null,"severity":"error","filePath":"cron/scheduler.py","lineNumber":5144,"sourceCode":"        return {\n            \"error\": str(self),\n            \"job_id\": self.job[\"id\"],\n            \"job_saved\": True,\n            \"scheduler_registered\": False,\n            \"retry_create\": False,\n        }\n\n\ndef create_job_with_scheduler_registration(**kwargs) -> dict:\n    \"\"\"Persist one job and register its first trigger with the active provider.\"\"\"\n    from cron.jobs import create_job\n    from cron.scheduler_provider import resolve_cron_scheduler\n\n    job = create_job(**kwargs)\n    try:\n        resolve_cron_scheduler().register_job(job)\n    except Exception as exc:\n        raise CronSchedulerRegistrationError(job, exc) from exc\n    return job\n\n\ndef tick(\n    verbose: bool = True,\n    adapters=None,\n    loop=None,\n    sync: bool = True,\n    *,\n    can_dispatch=None,\n):\n    \"\"\"\n    Check and run all due jobs.\n    \n    Uses a file lock so only one tick runs at a time, even if the gateway's\n    in-process ticker and a standalone daemon or manual tick overlap.\n    \n    Args:","sourceCodeStart":5126,"sourceCodeEnd":5162,"githubUrl":"https://github.com/NousResearch/hermes-agent/blob/c896c09c42910c584c4c7d2325b58c14713ea42c/cron/scheduler.py#L5126-L5162","documentation":"Error \"Cron job '{job_id}' was saved, but its first scheduler registration failed ({cause_type}). Do not create a duplicate. Pause/resume or update the job to retry registration.\" thrown in NousResearch/hermes-agent.","triggerScenarios":"Thrown at cron/scheduler.py:5144 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Do not create a duplicate job; pause/resume or update the saved job to retry scheduler registration.","Check the registration cause type in the message and fix the underlying error."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"c896c09c42910c584c4c7d2325b58c14713ea42c","analyzedAt":"2026-08-14T17:18:01.089Z","schemaVersion":2},"datasetVersion":"2026-08-15T17:31:12.345Z"}