The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
docs(cron): document async manual runs and per-run prompt context
Teknium71dc211b9e78
diff --git a/website/docs/user-guide/features/cron.md b/website/docs/user-guide/features/cron.mdindex 82179ff792b..632e3f9712e 100644--- a/website/docs/user-guide/features/cron.md+++ b/website/docs/user-guide/features/cron.md@@ -637,6 +637,30 @@ cronjob(action="remove", job_id="...")For `update`, pass `skills=[]` to remove all attached skills.+### Manual runs are asynchronous++`cronjob(action="run")` fires the job immediately **in the background** (like+`delegate_task`): the tool call returns at once with a handle, and the job's+outcome — success/failure, delivery target, next scheduled run, and an output+excerpt — re-enters the conversation as a new message when the run finishes.+The agent (and you) can keep working in the meantime, and a job that is+already mid-run is refused with "already running" instead of double-firing.++You can also pass `prompt` with `action="run"` to inject transient per-run+context:++```python+cronjob(action="run", job_id="...", prompt="CONTEXT: focus on the EU region today")+```++The context is appended to the job's stored prompt under a `## Run Context`+header for that single fire only — it is never persisted to the job+definition, and it passes the same prompt-injection scan as stored prompts.++Runtimes that can't receive detached results (one-shot `hermes -z`, `hermes+cron run` from the CLI, cron child sessions, Kanban workers) fall back to+synchronous execution automatically.+## Toolsets available to cron jobsCron runs each job in a fresh agent session with no chat platform attached. By default the cron agent gets **the toolset you configured for the `cron` platform in `hermes tools`** — not the CLI default, not everything under the sun.