Skip to content

Script Functions for Scheduler

Scheduler Function Information

All functions must be used with parenthesis.

schedule.setEnableEnable / Disable the listed Schedule
Functionschedule.setEnable("Schedule");
DescriptionEnables / Disables the Schedule within the Function. Enter 0 to disable, 1 to enable. If disabled, the Schedule will no longer function until re-enabled.
ExamplesDisable the Schedule "Reminder":
schedule.setEnable("Reminder", 0);
schedule.isEnabledChecks the current status of a Schedule
Functionschedule.isEnabled("Schedule");
DescriptionReturns true if the Schedule is enabled, will return false if the Schedule is disabled.
ExamplesSend a Notification if the “Reminder” Schedule is enabled:
if(schedule.isEnabled("Reminder")) { notification.send("Schedule Enabled");}