Create Clawdbot cron jobs from natural language. Supports one-shot and repeating schedules with safe run-guard rules.
/at / /every command)openclaw cron add command with correct flagsWhen a message starts with /at or /every, schedule via the CLI (NOT the cron tool API).
Use: openclaw cron add
--at "20m").--session isolated --message "Output exactly: " .--delete-after-run.--deliver --channel --to .--every "" (no timezone needed).--cron "" --tz "America/New_York" .--session isolated --message "Output exactly: " .--deliver --channel --to .One-shot (clock time, DST-aware):
openclaw cron add \
--name "Reminder example" \
--at "2026-01-28T15:00:00-05:00" \
--session isolated \
--message "Output exactly: <TASK>" \
--deliver --channel telegram --to <TELEGRAM_CHAT_ID> \
--delete-after-run
One-shot (relative time):
openclaw cron add \
--name "Reminder in 20m" \
--at "20m" \
--session isolated \
--message "Output exactly: <TASK>" \
--deliver --channel telegram --to <TELEGRAM_CHAT_ID> \
--delete-after-run
Repeating (clock time, DST-aware):
openclaw cron add \
--name "Daily 3pm reminder" \
--cron "0 15 * * *" --tz "America/New_York" \
--session isolated \
--message "Output exactly: <TASK>" \
--deliver --channel telegram --to <TELEGRAM_CHAT_ID>
Repeating (interval):
openclaw cron add \
--name "Every 2 hours" \
--every "2h" \
--session isolated \
--message "Output exactly: <TASK>" \
--deliver --channel telegram --to <TELEGRAM_CHAT_ID>
| Setting | Value |
|---|---|
| --------- | ------- |
| Default timezone | America/New_York (DST-aware) |
| Default channel | telegram (override via CRON_DEFAULT_CHANNEL env var) |
| Supported channels | telegram, whatsapp, slack, discord, signal |
| Input | Cron |
|---|---|
| ------- | ------ |
8am | 0 8 * |
8:45pm | 45 20 * |
noon | 0 12 * |
midnight | 0 0 * |
14:30 | 30 14 * |
| Input | Behavior |
|---|---|
| ------- | ---------- |
daily / every day | Daily at specified time |
weekdays / mon-fri | Mon-Fri at specified time |
mondays / every monday | Weekly on Monday |
hourly / every hour | Every hour at :00 |
every 2 hours | 0 /2 |
weekly | Weekly (defaults to Monday) |
monthly | Monthly (1st of month) |
共 1 个版本