openclaw_cron_add_every
Schedule a cron job that fires every N minutes or hours, ignoring clock time. Ideal for monitoring tasks that need fixed intervals without wall-clock alignment.
Instructions
Create a cron job that fires every N minutes/hours regardless of clock time. Synthesizes an every-kind schedule. Pass either intervalMinutes or intervalHours (the tool computes everyMs). Use for monitoring jobs that don't care about wall-clock alignment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Channel-specific recipient (Telegram chat id, email address, Discord channel id, …). Required when `channel` is set. | |
| name | Yes | ||
| model | No | Override the default model, e.g. 'claude-sonnet-4-6'. | |
| agentId | No | Override the default agent. Defaults to gateway's default. | |
| channel | No | Delivery channel name (e.g. 'telegram', 'email', 'discord'). Omit to keep the result internal. | |
| message | Yes | The text the agent receives at fire time. Used as the agentTurn `message` field. | |
| 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. | |
| deliveryMode | No | 'announce' broadcasts to channel; 'direct' DMs; 'none' keeps result internal. Defaults to 'announce' when channel is set. | |
| intervalHours | No | Interval in hours. Pass either this or intervalMinutes. | |
| timeoutSeconds | No | Hard cap for the agent run. Default 900s (15min) — enough for cold-start + non-trivial work. | |
| intervalMinutes | No | Interval in minutes. Pass either this or intervalHours. |