Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 6 Next »

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.

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

Examples

Disable / Re-Enable the Schedule “Reminder”

schedule.setEnable(“Reminder”);

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");
}

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.