Skip to content

Schedules

import { Aside } from ‘@astrojs/starlight/components’;

Schedules let you trigger any Event Type automatically at a set time using a standard cron expression. Navigate to Schedules in the sidebar.

Schedules overview


Schedules table

ColumnDescription
Cron ExpressionThe schedule timing in cron format
StateCurrent schedule state (see below)
Data VersionIncremented when the schedule is updated
Event DataJSON payload delivered to each triggered event. Hover for the full document
Event TypeThe Event Type this schedule fires
Sink(Optional) Pinned to a specific sink agent
TimestampWhen the schedule was last modified
StateMeaning
NEWRecently created, not yet evaluated
SCHEDULEDActive and waiting for the next trigger time
UPDATEDModified since last run — will be re-evaluated
DELETEDMarked for deletion

Schedules search

Use the Search schedules… field in the topbar to filter by cron expression, event type, or state. Results update as you type.


Click Add Schedule in the toolbar and fill in:

FieldDescription
Cron ExpressionWhen to fire (see examples below)
Event TypeWhich Event Type to trigger
Event DataJSON payload to include in each triggered event
Sink(Optional) Force execution to a specific sink

Cron expressions use 5 fields: minute hour day-of-month month day-of-week.

ExpressionFires
0 9 * * 1-5Every weekday at 09:00
*/15 * * * *Every 15 minutes
0 0 1 * *First day of every month at midnight
30 8 * * 1Every Monday at 08:30
0 6,18 * * *Twice daily at 06:00 and 18:00

Click the edit icon on a schedule row to open the detail panel and modify it.

Schedule detail panel

Changes take effect from the next evaluation cycle. The state changes to UPDATED until the scheduler processes the change.


Click the delete icon and confirm. The schedule is marked DELETED and will no longer fire.

For bulk deletion, check multiple rows and click Delete Selected.


By default, a schedule-triggered event dispatches to any available sink of the appropriate type. To force a specific machine (e.g. a task that accesses local files), select that sink in the Sink dropdown when creating or editing the schedule.


Each schedule firing creates an Event. To see the history of executions for a schedule, go to the Events screen and filter by the Event Type linked to the schedule.