Cron Jobs

Cron Jobs

The Cron page lets you view, manage, and trigger scheduled tasks configured in your OpenClaw instance.

Job List

Each cron job card shows:

  • Job name and description
  • Type: Agent, Command, or System event
  • Schedule: displayed as a human-readable string (e.g., “Every 10 minutes”)
  • Model: explicit model override, inherited agent default, or “No model”
  • Status: enabled/disabled badge
  • Last run: timestamp and result (success/failure)
  • Error count: number of recent failures

Job Types

OpenClaw cron jobs can run in three ways:

  • Agent jobs run an agent turn from a prompt. They use the job’s model override when one is set; otherwise they inherit the agent’s default model.
  • Command jobs run a host command through OpenClaw’s scheduler. They do not call a model, so the model field shows “No model” and the edit view shows the command line, working directory, timeout, and output limit instead of a prompt editor.
  • System event jobs inject text into the main session. They do not call a model by themselves; the edit view shows the event text.

Run History

Expand a job to see its run history with:

  • Timestamp of each run
  • Duration
  • Result (success or error)
  • Error messages (if any)

On mobile, long error messages stay inside the card. The runs container has a max height with vertical scrolling to prevent horizontal overflow.

Manual Trigger

Each job has a Run Now button to trigger it immediately, bypassing the schedule.

Editing Jobs

Click a job to open the edit dialog where you can modify:

  • Schedule (cron expression)
  • Job configuration
  • Prompt, event text, or command details depending on job type
  • Enable/disable toggle

LordClaw reads, triggers, creates, and updates OpenClaw cron jobs through the gateway API. Command jobs keep their command payload intact when you edit schedule settings.