Files

45 lines
1.2 KiB
Markdown
Raw Permalink Normal View History

2026-01-15 06:12:54 +00:00
---
2026-01-30 03:15:10 +01:00
summary: "CLI reference for `openclaw cron` (schedule and run background jobs)"
2026-01-15 06:12:54 +00:00
read_when:
- You want scheduled jobs and wakeups
- Youre debugging cron execution and logs
title: "cron"
2026-01-15 06:12:54 +00:00
---
2026-01-30 03:15:10 +01:00
# `openclaw cron`
2026-01-15 06:12:54 +00:00
Manage cron jobs for the Gateway scheduler.
Related:
2026-01-31 21:13:13 +09:00
2026-01-15 06:12:54 +00:00
- Cron jobs: [Cron jobs](/automation/cron-jobs)
2026-01-30 03:15:10 +01:00
Tip: run `openclaw cron --help` for the full command surface.
2026-01-15 06:12:54 +00:00
Note: isolated `cron add` jobs default to `--announce` delivery. Use `--no-deliver` to keep
output internal. `--deliver` remains as a deprecated alias for `--announce`.
Note: one-shot (`--at`) jobs delete after success by default. Use `--keep-after-run` to keep them.
Note: recurring jobs now use exponential retry backoff after consecutive errors (30s → 1m → 5m → 15m → 60m), then return to normal schedule after the next successful run.
## 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
2026-01-30 03:15:10 +01:00
openclaw cron edit <job-id> --no-deliver
```
Announce to a specific channel:
```bash
openclaw cron edit <job-id> --announce --channel slack --to "channel:C1234567890"
```