Skip to content

Schedules

IDsession_schedule
CategoryCore
Featuresschedules (unlocks Schedules tab)
DependenciesNone

Schedule future tasks within the current session. Supports one-shot (run once at a specific time) and recurring (cron expression) schedules.

Create a new scheduled task.

ParameterTypeRequiredDescription
messagestringyesThe message/task to execute
scheduled_atstringconditionalISO 8601 datetime for one-shot schedules
cron_expressionstringconditionalCron expression for recurring schedules

Provide either scheduled_at or cron_expression, not both.

Cancel an active schedule.

ParameterTypeRequiredDescription
schedule_idstringyesID of the schedule to cancel

List all schedules for the current session.

Recurrence is built on schedules — there is no separate “recurring task” object to configure. A recurring (cron_expression) schedule either delivers a scheduled turn to the session, or, when paired with a background monitor task, runs a probe on each fire and records the result on the task’s thread. This composition (recurring schedule + monitor) is the supported way to run periodic background work — there is no separate recurring-task primitive to configure.

  • Maximum 5 active schedules per session
  • Cron uses standard 5-field format (minute, hour, day, month, weekday)
  • Scheduled messages are sent to the session as if the user sent them
  • Use Current Time to determine “now” before scheduling