openclaw_cron_add_daily
Create a daily cron job that triggers an agent at a specified local time, with custom message and optional channel delivery.
Instructions
Create a cron job that fires every day at a fixed local time. Synthesizes the cron-kind schedule + agentTurn payload. Pass hour, minute, tz, message. Optional channel delivery via channel + to.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Channel-specific recipient (Telegram chat id, email address, Discord channel id, …). Required when `channel` is set. | |
| tz | No | Europe/Paris | |
| hour | Yes | ||
| name | Yes | ||
| model | No | Override the default model, e.g. 'claude-sonnet-4-6'. | |
| minute | No | ||
| 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. | |
| timeoutSeconds | No | Hard cap for the agent run. Default 900s (15min) — enough for cold-start + non-trivial work. |