# Set up your first OpenClaw cron job

Canonical: https://cwyn.com/pages/openclaw-guide-first-openclaw-cron-job.html
Last updated: 2026-11-19T10:21:24-05:00

OpenClaw operations guide

Short answer. Create a recurring OpenClaw cron job with an explicit timezone, run it once on demand, and verify a scheduled run in the history. Start with a running local Gateway, a working model, and an operator with admin access. List scheduled jobs using the automations CLI.

Last updated November 19, 2026

The [OpenClaw Complete Setup Pack](https://cwyn.com/pages/pack-openclaw-complete-setup-pack.html) is an optional paid kit ($14.95). Use its cost checklist when you decide how often the job should call your model.

OpenClaw Complete Setup Pack $14.95

Start an OpenClaw workspace with editable instructions, local Gateway and tool presets, and checklists for pairing, memory, costs and rollback.

By CWYN · Reviewed November 19, 2026 against OpenClaw 2026.11.5

## 1. Check that the CLI can reach the scheduler

Start with a running local Gateway, a working model, and an operator with admin access. List scheduled jobs using the [automations CLI](https://docs.openclaw.ai/cli/cron). An empty list is fine for this setup. The [scheduler reference](https://docs.openclaw.ai/automation/cron-jobs) also documents `openclaw cron` as an alias.

```
openclaw automations list
```

## 2. Create a daily test job

This example schedules a run for 7 a.m. every day in New York. Change the expression and timezone to a time you can observe. The job uses an isolated session and a fixed text prompt. `--no-deliver` keeps the automatic result out of chat. The test prompt requests no tool use.

```
openclaw automations create "0 7 * * *" \
  "Reply with scheduler ready. Do not use tools." \
  --name "Scheduler test" \
  --tz America/New_York \
  --session isolated \
  --no-deliver
```

## 3. Read back the saved schedule

Copy the new job ID and substitute it for JOB_ID. Check the saved schedule, timezone, and next run. If the time is wrong, fix the schedule before leaving the job enabled.

```
openclaw automations show JOB_ID
```

## 4. Run once and wait for the result

A manual run checks that the agent can execute the saved prompt. The `--wait` flag waits for that run to finish. Check the completion result and look for `scheduler ready` in the summary.

```
openclaw automations run JOB_ID --wait
```

## 5. Verify the timed run and pause the test

After the scheduled time passes, check for a separate successful run in the history. Keep the Gateway running through that time. Disable the test job when you finish so it stops making scheduled model calls.

```
openclaw automations runs JOB_ID
openclaw automations disable JOB_ID
```

[Get your free CWYN Score](https://cwyn.com/pages/score.html)

## Related guides

- [OpenClaw cron not running: prove the schedule, run, and delivery](https://cwyn.com/pages/openclaw-guide-cron-not-firing.html)
- [OpenClaw background costs: audit schedules and repeated jobs](https://cwyn.com/pages/openclaw-guide-automation-costs.html)
- [OpenClaw automation error: agentId outside caller scope](https://cwyn.com/pages/openclaw-guide-automation-agent-outside-caller-scope.html)
- [OpenClaw automation says it failed when the trigger is false](https://cwyn.com/pages/openclaw-guide-automation-false-trigger-notice.html)

## Next steps

- [All 135 OpenClaw guides](https://cwyn.com/guides/openclaw/)
- [OpenClaw setup walkthrough](https://cwyn.com/setup/openclaw/)
- [CWYN Score](https://cwyn.com/pages/score.html)
- [OpenClaw Complete Setup Pack ($14.95)](https://cwyn.com/pages/pack-openclaw-complete-setup-pack.html)
