Skip to content

EventScheduleDefinition

Publishes an Event on a cron schedule in every active Workspace of the application.

readonly crontab: string

Cron expression that decides when the Event fires.


readonly prn: string

PRN of the schedule, <eventPrn>/schedule/<key>.


readonly states: readonly string[] | null

For a Template Event, the state keys whose Items receive the Event: null publishes to every unarchived Item of the Template and an empty array publishes to none. An App Event publishes once per Workspace regardless of this value.