/
Script Functions for Scheduler

Script Functions for Scheduler

Function Information

  • All functions must be used with parenthesis.

Β 

schedule.setEnable

Enable / Disable the listed Schedule

Function

schedule.setEnable(β€œSchedule”);

Β Description

Enables / Disables the Schedule within the Function. Enter 0 to disable, 1 to enable.

If disabled, the Schedule will no longer function until re-enabled.

Examples

Disable the Schedule β€œReminder”

schedule.setEnable(β€œReminder”, 0);

Β 

schedule.isEnabled

Check the current status of a Schedule

Function

schedule.isEnabled(β€œSchedule”);

Β Description

Returns true if the Schedule is enabled, will return false if the Schedule is disabled.

Examples

Send a Notification if the β€œReminder” Schedule is enabled.

if(schedule.isEnabled("Reminder"))
{
notification.send("Schedule Enabled");
}

Β 

Back to Top of Script Functions for Scheduler

Related content