Caricamento in corso...
Caricamento in corso...
Last synced: Today, 22:00
Technical reference for the OpenClaw framework. Real-time synchronization with the official documentation engine.
Use this file to discover all available pages before exploring further.
openclaw cronManage cron jobs for the Gateway scheduler.
--sessionmainisolatedcurrentsession:<id>openclaw cron listopenclaw cron show <job-id>channel: "last"Isolated cron chat delivery is shared between the agent and the runner:
messageannouncewebhooknone--announce--no-delivermessageReminders created from an active chat preserve the live chat delivery target for fallback announce delivery. Internal session keys may be lowercase; do not use them as a source of truth for case-sensitive provider IDs such as Matrix room IDs.
Failure notifications resolve in this order:
delivery.failureDestinationcron.failureDestinationNote: isolated cron runs treat run-level agent failures as job errors even when no reply payload is produced, so model/provider failures still increment error counters and trigger failure notifications.
--at <datetime>--tz <iana>Recurring jobs use exponential retry backoff after consecutive errors: 30s, 1m, 5m, 15m, 60m. The schedule returns to normal after the next successful run.
Skipped runs are tracked separately from execution errors. They do not affect retry backoff, but
openclaw cron edit <job-id> --failure-alert-include-skippedFor isolated jobs that target a local configured model provider, cron runs a lightweight provider preflight before starting the agent turn. Loopback, private-network, and
.localapi: "ollama"/api/tags/modelsskippedNote: cron job definitions live in
jobs.jsonjobs-state.jsonjobs.jsonopenclaw cron run{ ok: true, enqueued: true, runId }openclaw cron runs --id <job-id>cron add|edit --model <ref>Cron
--model/modelfallbacksfallbacks: []--modelIsolated cron resolves the active model in this order:
--modelIsolated cron fast mode follows the resolved live model selection. Model config
params.fastModefastModeIf an isolated run throws
LiveSessionModelSwitchErrorIsolated cron turns suppress stale acknowledgement-only replies. If the first result is just an interim status update and no descendant subagent run is responsible for the eventual answer, cron re-prompts once for the real result before delivery.
If an isolated cron run returns only the silent token (
NO_REPLYno_replyIsolated cron runs prefer structured execution-denial metadata from the embedded run, then fall back to known denial markers in final output, such as
SYSTEM_RUN_DENIEDINVALID_REQUESTcron listokRetention and pruning are controlled in config:
cron.sessionRetention24hcron.runLog.maxBytescron.runLog.keepLines~/.openclaw/cron/runs/<jobId>.jsonlUpdate delivery settings without changing the message:
bashopenclaw cron edit <job-id> --announce --channel telegram --to "123456789"
Disable delivery for an isolated job:
bashopenclaw cron edit <job-id> --no-deliver
Enable lightweight bootstrap context for an isolated job:
bashopenclaw cron edit <job-id> --light-context
Announce to a specific channel:
bashopenclaw cron edit <job-id> --announce --channel slack --to "channel:C1234567890"
Announce to a Telegram forum topic:
bashopenclaw cron edit <job-id> --announce --channel telegram --to "-1001234567890" --thread-id 42
Create an isolated job with lightweight bootstrap context:
bashopenclaw cron add \ --name "Lightweight morning brief" \ --cron "0 7 * * *" \ --session isolated \ --message "Summarize overnight updates." \ --light-context \ --no-deliver
--light-contextManual run and inspection:
bashopenclaw cron list openclaw cron show <job-id> openclaw cron run <job-id> openclaw cron run <job-id> --due openclaw cron runs --id <job-id> --limit 50
cron runsAgent and session retargeting:
bashopenclaw cron edit <job-id> --agent ops openclaw cron edit <job-id> --clear-agent openclaw cron edit <job-id> --session current openclaw cron edit <job-id> --session "session:daily-brief"
openclaw cron add--agentmain--agent <id>Delivery tweaks:
bashopenclaw cron edit <job-id> --announce --channel slack --to "channel:C1234567890" openclaw cron edit <job-id> --best-effort-deliver openclaw cron edit <job-id> --no-best-effort-deliver openclaw cron edit <job-id> --no-deliver
© 2024 TaskFlow Mirror
Powered by TaskFlow Sync Engine