openclaw_cron_update
Update any field of an OpenClaw cron job without removing and re-adding it. Pass the job id and a patch object containing only the fields to change.
Instructions
Update an existing OpenClaw cron job in place. Wraps cron.update. Avoids the remove + re-add dance when you just want to change schedule, timeout, payload, or delivery. Wire format (verified live against gateway 2026.4.12+): { id|jobId: string, patch: object } — pass the job id and a patch object containing only the fields you want to change. Older shape { job: { id, ...fields } } is auto-translated for backward compat with pre-0.5.1 callers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Cron job id (preferred). Pass either `id` or `jobId`. | |
| job | No | DEPRECATED — pre-0.5.1 shape. Pass `id` + `patch` instead. | |
| jobId | No | Cron job id (alias). Pass either `id` or `jobId`. | |
| patch | No | Fields to change (any subset of writable cron fields). | |
| instance | No | Optional OpenClaw instance to route this call to (e.g. 'default', 'work'). Falls back to the active default instance, or the OPENCLAW_GATEWAY_URL/TOKEN env vars when set. List configured instances with openclaw_setup_list. |