Skip to main content

ScheduleUpdateinterface

Settings for updating a platform schedule.

Properties (6)

Property Type Default Required Description
cron⚓︎ string x x

Custom cron expression for the scheduled operation. Will be ignored if time, repeat, or day is locked by the administrator.

day⚓︎ DayOfWeek x x

Day of the week for a weekly schedule. The update() method will reject changes to an unlocked day if repeat is set to "daily".

enabled⚓︎ boolean x x

If true, will enable the schedule. If false, will disable the schedule without removing its settings.

options⚓︎ ScheduleOptions x x

Options to merge with the existing schedule options. If warning is specified, it will replace the existing warning settings entirely.

repeat⚓︎ "daily" | "weekly" x x

Frequency of the scheduled operation.

time⚓︎ string x x

Time for the scheduled operation in the local time zone of the machine, using the "HH:mm" format (hours from 00 to 23).