add_timer
Schedule a timer to send a message at specified times using cron expressions or fixed intervals. Supports one-time and recurring tasks.
Instructions
Add a timer task that triggers a wake with the given message at scheduled times.
Supports cron expressions and fixed-interval scheduling:
cron_expr: "0 8 * * *" = every day at 8am
interval_seconds: 3600 = every hour
once: if True, auto-removes after first trigger
At least one of cron_expr or interval_seconds must be provided. Use list_timers to see active timers, remove_timer to cancel.
Mutates the timer configuration. Timers persist across restarts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| cron_expr | No | ||
| interval_seconds | No | ||
| once | No |