Scheduler Guide
The Scheduler module allows you to set up a schedule for the execution of programmed actions (such as setting the item value, sending or updating a recipe, running a script or activating a program) at scheduled times.
Every single programming takes the name of schedule and allows to configure a pair of actions (to be executed respectively at the beginning and at the end of the configured time slots) and for each day of the week, in the different months of the year, one or more time slots.
A classic example of the use of the Scheduler is represented by the building automation solutions: for example, it is possible to turn on the heating system of an office during the winter period (from November to March) from Monday to Friday from 6:00 am at 12:00 and from 13:30 to 20:00, and on Saturday only from 6:00 to 12:00; moreover it can be defined that the heating remains off for holidays (for example Christmas, New Year, etc.).
The configuration of the schedules can take place during development, directly from the X Editor IDE, and be made available for use by the end user, with possible limitations of use.
The Scheduler Manager has the task of managing the configured actions: more precisely, based on the intervals set, detects the start or end of a time slot and provides for the execution of the corresponding actions.
In the event that the system is not active, at the next activation the Schedule Manager performs any actions configured for entry into the current time slot, if the activation time falls within one or more time slots.