TaskFlow
DashboardFreewriteWhiteboardsProjectsCRMTasksNotificationsSettingsAgent TowerAPI Docs
OpenClaw Docs
?

User

Member

Caricamento in corso...

Home
Progetti
Task
Notifiche
CRM

    OpenClaw

    Documentation Mirror

    Documentation Overview

    Docs

    Auth credential semantics
    Scheduled tasks
    Hooks
    Automation & tasks
    Standing orders
    Task flow
    Background tasks
    BlueBubbles
    Broadcast groups
    Channel routing
    Discord
    Feishu
    Google Chat
    Group messages
    Groups
    iMessage
    Chat channels
    IRC
    LINE
    Channel location parsing
    Matrix
    Matrix migration
    Matrix push rules for quiet previews
    Mattermost
    Microsoft Teams
    Nextcloud Talk
    Nostr
    Pairing
    QA channel
    QQ bot
    Signal
    Slack
    Synology Chat
    Telegram
    Tlon
    Channel troubleshooting
    Twitch
    WeChat
    WhatsApp
    Yuanbao
    Zalo
    Zalo personal
    CI pipeline
    ACP
    Agent
    Agents
    Approvals
    Backup
    Browser
    Channels
    Clawbot
    `openclaw commitments`
    Completion
    Config
    Configure
    Cron
    Daemon
    Dashboard
    Devices
    Directory
    DNS
    Docs
    Doctor
    Flows (redirect)
    Gateway
    Health
    Hooks
    CLI reference
    Inference CLI
    Logs
    MCP
    Memory
    Message
    Migrate
    Models
    Node
    Nodes
    Onboard
    Pairing
    Plugins
    Proxy
    QR
    Reset
    Sandbox CLI
    Secrets
    Security
    Sessions
    Setup
    Skills
    Status
    System
    `openclaw tasks`
    TUI
    Uninstall
    Update
    Voicecall
    Webhooks
    Wiki
    Active memory
    Agent runtime
    Agent loop
    Agent runtimes
    Agent workspace
    Gateway architecture
    Channel docking
    Inferred commitments
    Compaction
    Context
    Context engine
    Delegate architecture
    Dreaming
    Experimental features
    Features
    Markdown formatting
    Memory overview
    Builtin memory engine
    Honcho memory
    QMD memory engine
    Memory search
    Messages
    Model failover
    Model providers
    Models CLI
    Multi-agent routing
    OAuth
    OpenClaw App SDK
    Presence
    QA overview
    Matrix QA
    Command queue
    Steering queue
    Retry policy
    Session management
    Session pruning
    Session tools
    SOUL.md personality guide
    Streaming and chunking
    System prompt
    Timezones
    TypeBox
    Typing indicators
    Usage tracking
    Date and time
    Node + tsx crash
    Diagnostics flags
    Authentication
    Background exec and process tool
    Bonjour discovery
    Bridge protocol
    CLI backends
    Configuration — agents
    Configuration — channels
    Configuration — tools and custom providers
    Configuration
    Configuration examples
    Configuration reference
    Diagnostics export
    Discovery and transports
    Doctor
    Gateway lock
    Health checks
    Heartbeat
    Gateway runbook
    Local models
    Gateway logging
    Multiple gateways
    Network model
    OpenAI chat completions
    OpenResponses API
    OpenShell
    OpenTelemetry export
    Gateway-owned pairing
    Prometheus metrics
    Gateway protocol
    Remote access
    Remote gateway setup
    Sandbox vs tool policy vs elevated
    Sandboxing
    Secrets management
    Secrets apply plan contract
    Security audit checks
    Security
    Tailscale
    Tools invoke API
    Troubleshooting
    Trusted proxy auth
    Debugging
    Environment variables
    FAQ
    FAQ: first-run setup
    FAQ: models and auth
    GPT-5.5 / Codex agentic parity
    GPT-5.5 / Codex parity maintainer notes
    Help
    Scripts
    Testing
    Testing: live suites
    General troubleshooting
    OpenClaw
    Ansible
    Azure
    Bun (experimental)
    ClawDock
    Release channels
    DigitalOcean
    Docker
    Docker VM runtime
    exe.dev
    Fly.io
    GCP
    Hetzner
    Hostinger
    Install
    Installer internals
    Kubernetes
    macOS VMs
    Migration guide
    Migrating from Claude
    Migrating from Hermes
    Nix
    Node.js
    Northflank
    Oracle Cloud
    Podman
    Railway
    Raspberry Pi
    Render
    Uninstall
    Updating
    Logging
    Network
    Audio and voice notes
    Camera capture
    Image and media support
    Nodes
    Location command
    Media understanding
    Talk mode
    Node troubleshooting
    Voice wake
    Pi integration architecture
    Pi development workflow
    Android app
    Platforms
    iOS app
    Linux app
    Gateway on macOS
    Canvas
    Gateway lifecycle
    macOS dev setup
    Health checks (macOS)
    Menu bar icon
    macOS logging
    Menu bar
    Peekaboo bridge
    macOS permissions
    Remote control
    macOS signing
    Skills (macOS)
    Voice overlay
    Voice wake (macOS)
    WebChat (macOS)
    macOS IPC
    macOS app
    Windows
    Plugin internals
    Plugin architecture internals
    Building plugins
    Plugin bundles
    Codex Computer Use
    Codex harness
    Community plugins
    Plugin compatibility
    Google Meet plugin
    Plugin hooks
    Plugin manifest
    Memory LanceDB
    Memory wiki
    Message presentation
    Agent harness plugins
    Building channel plugins
    Channel turn kernel
    Plugin entry points
    Plugin SDK migration
    Plugin SDK overview
    Building provider plugins
    Plugin runtime helpers
    Plugin setup and config
    Plugin SDK subpaths
    Plugin testing
    Skill workshop plugin
    Voice call plugin
    Webhooks plugin
    Zalo personal plugin
    OpenProse
    Alibaba Model Studio
    Anthropic
    Arcee AI
    Azure Speech
    Amazon Bedrock
    Amazon Bedrock Mantle
    Chutes
    Claude Max API proxy
    Cloudflare AI gateway
    ComfyUI
    Deepgram
    Deepinfra
    DeepSeek
    ElevenLabs
    Fal
    Fireworks
    GitHub Copilot
    GLM (Zhipu)
    Google (Gemini)
    Gradium
    Groq
    Hugging Face (inference)
    Provider directory
    Inferrs
    Inworld
    Kilocode
    LiteLLM
    LM Studio
    MiniMax
    Mistral
    Model provider quickstart
    Moonshot AI
    NVIDIA
    Ollama
    OpenAI
    OpenCode
    OpenCode Go
    OpenRouter
    Perplexity
    Qianfan
    Qwen
    Runway
    SGLang
    StepFun
    Synthetic
    Tencent Cloud (TokenHub)
    Together AI
    Venice AI
    Vercel AI gateway
    vLLM
    Volcengine (Doubao)
    Vydra
    xAI
    Xiaomi MiMo
    Z.AI
    Default AGENTS.md
    Release policy
    API usage and costs
    Credits
    Device model database
    Full release validation
    Memory configuration reference
    OpenClaw App SDK API design
    Prompt caching
    Rich output protocol
    RPC adapters
    SecretRef credential surface
    Session management deep dive
    AGENTS.md template
    BOOT.md template
    BOOTSTRAP.md template
    HEARTBEAT.md template
    IDENTITY template
    SOUL.md template
    TOOLS.md template
    USER template
    Tests
    Token use and costs
    Transcript hygiene
    Onboarding reference
    Contributing to the threat model
    Threat model (MITRE ATLAS)
    Formal verification (security models)
    Network proxy
    Agent bootstrapping
    Docs directory
    Getting started
    Docs hubs
    OpenClaw lore
    Onboarding (macOS app)
    Onboarding overview
    Personal assistant setup
    Setup
    Showcase
    Onboarding (CLI)
    CLI automation
    CLI setup reference
    ACP agents
    ACP agents — setup
    Agent send
    apply_patch tool
    Brave search
    Browser (OpenClaw-managed)
    Browser control API
    Browser troubleshooting
    Browser login
    WSL2 + Windows + remote Chrome CDP troubleshooting
    BTW side questions
    ClawHub
    Code execution
    Creating skills
    Diffs
    DuckDuckGo search
    Elevated mode
    Exa search
    Exec tool
    Exec approvals
    Exec approvals — advanced
    Firecrawl
    Gemini search
    Grok search
    Image generation
    Tools and plugins
    Kimi search
    LLM task
    Lobster
    Tool-loop detection
    Media overview
    MiniMax search
    Multi-agent sandbox and tools
    Music generation
    Ollama web search
    PDF tool
    Perplexity search
    Plugins
    Reactions
    SearXNG search
    Skills
    Skills config
    Slash commands
    Sub-agents
    Tavily
    Thinking levels
    Tokenjuice
    Trajectory bundles
    Text-to-speech
    Video generation
    Web search
    Web fetch
    Linux server
    Control UI
    Dashboard
    Web
    TUI
    WebChat

    OpenAPI Specs

    openapi
    TaskFlow
    docs/openclaw
    Original Docs

    Real-time Synchronized Documentation

    Last sync: 01/05/2026 07:01:45

    Note: This content is mirrored from docs.openclaw.ai and is subject to their terms and conditions.

    OpenClaw Docs

    v2.4.0 Production

    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.

    Cron

    text
    openclaw cron

    Manage cron jobs for the Gateway scheduler.

    tip

    Run `openclaw cron --help` for the full command surface. See [Cron jobs](/automation/cron-jobs) for the conceptual guide.

    Sessions

    text
    --session
    accepts
    text
    main
    ,
    text
    isolated
    ,
    text
    current
    , or
    text
    session:<id>
    .

    Delivery

    text
    openclaw cron list
    and
    text
    openclaw cron show <job-id>
    preview the resolved delivery route. For
    text
    channel: "last"
    , the preview shows whether the route resolved from the main or current session, or will fail closed.

    note

    Isolated `cron add` jobs default to `--announce` delivery. Use `--no-deliver` to keep output internal. `--deliver` remains as a deprecated alias for `--announce`.

    Delivery ownership

    Isolated cron chat delivery is shared between the agent and the runner:

    • The agent can send directly using the
      text
      message
      tool when a chat route is available.
    • text
      announce
      fallback-delivers the final reply only when the agent did not send directly to the resolved target.
    • text
      webhook
      posts the finished payload to a URL.
    • text
      none
      disables runner fallback delivery.

    text
    --announce
    is runner fallback delivery for the final reply.
    text
    --no-deliver
    disables that fallback but does not remove the agent's
    text
    message
    tool when a chat route is available.

    Reminders 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 delivery

    Failure notifications resolve in this order:

    1. text
      delivery.failureDestination
      on the job.
    2. Global
      text
      cron.failureDestination
      .
    3. The job's primary announce target (when no explicit failure destination is set).

    note

    Main-session jobs may only use `delivery.failureDestination` when primary delivery mode is `webhook`. Isolated jobs accept it in all modes.

    Note: 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.

    Scheduling

    One-shot jobs

    text
    --at <datetime>
    schedules a one-shot run. Offset-less datetimes are treated as UTC unless you also pass
    text
    --tz <iana>
    , which interprets the wall-clock time in the given timezone.

    note

    One-shot jobs delete after success by default. Use `--keep-after-run` to preserve them.

    Recurring jobs

    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

    text
    openclaw cron edit <job-id> --failure-alert-include-skipped
    can opt failure alerts into repeated skipped-run notifications.

    For isolated jobs that target a local configured model provider, cron runs a lightweight provider preflight before starting the agent turn. Loopback, private-network, and

    text
    .local
    text
    api: "ollama"
    providers are probed at
    text
    /api/tags
    ; local OpenAI-compatible providers such as vLLM, SGLang, and LM Studio are probed at
    text
    /models
    . If the endpoint is unreachable, the run is recorded as
    text
    skipped
    and retried on a later schedule; matching dead endpoints are cached for 5 minutes to avoid many jobs hammering the same local server.

    Note: cron job definitions live in

    text
    jobs.json
    , while pending runtime state lives in
    text
    jobs-state.json
    . If
    text
    jobs.json
    is edited externally, the Gateway reloads changed schedules and clears stale pending slots; formatting-only rewrites do not clear the pending slot.

    Manual runs

    text
    openclaw cron run
    returns as soon as the manual run is queued. Successful responses include
    text
    { ok: true, enqueued: true, runId }
    . Use
    text
    openclaw cron runs --id <job-id>
    to follow the eventual outcome.

    note

    `openclaw cron run ` force-runs by default. Use `--due` to keep the older "only run if due" behavior.

    Models

    text
    cron add|edit --model <ref>
    selects an allowed model for the job.

    warning

    If the model is not allowed or cannot be resolved, cron fails the run with an explicit validation error instead of falling back to the job's agent or default model selection.

    Cron

    text
    --model
    is a job primary, not a chat-session
    text
    /model
    override. That means:

    • Configured model fallbacks still apply when the selected job model fails.
    • Per-job payload
      text
      fallbacks
      replaces the configured fallback list when present.
    • An empty per-job fallback list (
      text
      fallbacks: []
      in the job payload/API) makes the cron run strict.
    • When a job has
      text
      --model
      but no fallback list is configured, OpenClaw passes an explicit empty fallback override so the agent primary is not appended as a hidden retry target.

    Isolated cron model precedence

    Isolated cron resolves the active model in this order:

    1. Gmail-hook override.
    2. Per-job
      text
      --model
      .
    3. Stored cron-session model override (when the user selected one).
    4. Agent or default model selection.

    Fast mode

    Isolated cron fast mode follows the resolved live model selection. Model config

    text
    params.fastMode
    applies by default, but a stored session
    text
    fastMode
    override still wins over config.

    Live model switch retries

    If an isolated run throws

    text
    LiveSessionModelSwitchError
    , cron persists the switched provider and model (and switched auth profile override when present) for the active run before retrying. The outer retry loop is bounded to two switch retries after the initial attempt, then aborts instead of looping forever.

    Run output and denials

    Stale acknowledgement suppression

    Isolated 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.

    Silent token suppression

    If an isolated cron run returns only the silent token (

    text
    NO_REPLY
    or
    text
    no_reply
    ), cron suppresses both direct outbound delivery and the fallback queued summary path, so nothing is posted back to chat.

    Structured denials

    Isolated cron runs prefer structured execution-denial metadata from the embedded run, then fall back to known denial markers in final output, such as

    text
    SYSTEM_RUN_DENIED
    ,
    text
    INVALID_REQUEST
    , and approval-binding refusal phrases.

    text
    cron list
    and run history surface the denial reason instead of reporting a blocked command as
    text
    ok
    .

    Retention

    Retention and pruning are controlled in config:

    • text
      cron.sessionRetention
      (default
      text
      24h
      ) prunes completed isolated run sessions.
    • text
      cron.runLog.maxBytes
      and
      text
      cron.runLog.keepLines
      prune
      text
      ~/.openclaw/cron/runs/<jobId>.jsonl
      .

    Migrating older jobs

    note

    If you have cron jobs from before the current delivery and store format, run `openclaw doctor --fix`. Doctor normalizes legacy cron fields (`jobId`, `schedule.cron`, top-level delivery fields including legacy `threadId`, payload `provider` delivery aliases) and migrates simple `notify: true` webhook fallback jobs to explicit webhook delivery when `cron.webhook` is configured.

    Common edits

    Update delivery settings without changing the message:

    bash
    openclaw cron edit <job-id> --announce --channel telegram --to "123456789"

    Disable delivery for an isolated job:

    bash
    openclaw cron edit <job-id> --no-deliver

    Enable lightweight bootstrap context for an isolated job:

    bash
    openclaw cron edit <job-id> --light-context

    Announce to a specific channel:

    bash
    openclaw cron edit <job-id> --announce --channel slack --to "channel:C1234567890"

    Announce to a Telegram forum topic:

    bash
    openclaw cron edit <job-id> --announce --channel telegram --to "-1001234567890" --thread-id 42

    Create an isolated job with lightweight bootstrap context:

    bash
    openclaw cron add \ --name "Lightweight morning brief" \ --cron "0 7 * * *" \ --session isolated \ --message "Summarize overnight updates." \ --light-context \ --no-deliver

    text
    --light-context
    applies to isolated agent-turn jobs only. For cron runs, lightweight mode keeps bootstrap context empty instead of injecting the full workspace bootstrap set.

    Common admin commands

    Manual run and inspection:

    bash
    openclaw 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

    text
    cron runs
    entries include delivery diagnostics with the intended cron target, the resolved target, message-tool sends, fallback use, and delivered state.

    Agent and session retargeting:

    bash
    openclaw 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"

    text
    openclaw cron add
    warns when
    text
    --agent
    is omitted on agent-turn jobs and falls back to the default agent (
    text
    main
    ). Pass
    text
    --agent <id>
    at create time to pin a specific agent.

    Delivery tweaks:

    bash
    openclaw 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

    Related

    • CLI reference
    • Scheduled tasks

    © 2024 TaskFlow Mirror

    Powered by TaskFlow Sync Engine