{"record":{"id":"735a6da2f59bd9b4","repo":"NousResearch/hermes-agent","slug":"requested-one-shot-time-run-at-is-more-than-one","errorCode":null,"errorMessage":"Requested one-shot time {run_at} is more than {ONESHOT_GRACE_SECONDS}s in the past and cannot be scheduled.","messagePattern":"Requested one-shot time (.+?) is more than (.+?)s in the past and cannot be scheduled\\.","errorType":"validation","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"cron/jobs.py","lineNumber":1732,"sourceCode":"    label_source = (prompt_text or (normalized_skills[0] if normalized_skills else None) or (normalized_script if normalized_no_agent else None)) or \"cron job\"\n\n    provider_snapshot, model_snapshot = _compute_provider_model_snapshots(\n        provider=normalized_provider,\n        model=normalized_model,\n        base_url=normalized_base_url,\n        no_agent=normalized_no_agent,\n    )\n\n    next_run_at = compute_next_run(parsed_schedule)\n    if parsed_schedule.get(\"kind\") == \"once\" and next_run_at is None:\n        run_at = parsed_schedule.get(\"run_at\") or schedule\n        logger.warning(\n            \"Rejecting one-shot cron job '%s': run_at %s is outside the %ss grace window\",\n            name or label_source[:50].strip(),\n            run_at,\n            ONESHOT_GRACE_SECONDS,\n        )\n        raise ValueError(\n            f\"Requested one-shot time {run_at} is more than \"\n            f\"{ONESHOT_GRACE_SECONDS}s in the past and cannot be scheduled.\"\n        )\n\n    job = {\n        \"id\": job_id,\n        \"name\": name or label_source[:50].strip(),\n        \"prompt\": prompt_text,\n        \"skills\": normalized_skills,\n        \"skill\": normalized_skills[0] if normalized_skills else None,\n        \"model\": normalized_model,\n        \"provider\": normalized_provider,\n        # Provider/model resolution captured at creation for unpinned jobs\n        # (#44585). None for pinned axes, no_agent jobs, resolution failures, and\n        # any pre-existing job written before these fields existed (back-compat).\n        \"provider_snapshot\": provider_snapshot,\n        \"model_snapshot\": model_snapshot,\n        \"base_url\": normalized_base_url,","sourceCodeStart":1714,"sourceCodeEnd":1750,"githubUrl":"https://github.com/NousResearch/hermes-agent/blob/c896c09c42910c584c4c7d2325b58c14713ea42c/cron/jobs.py#L1714-L1750","documentation":"Error \"Requested one-shot time {run_at} is more than {ONESHOT_GRACE_SECONDS}s in the past and cannot be scheduled.\" thrown in NousResearch/hermes-agent.","triggerScenarios":"Thrown at cron/jobs.py:1732 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Pick a one-shot time in the future (or within the grace window)."],"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-15T22:17:37.221Z"}