summaryrefslogtreecommitdiffstats
path: root/src/schedule.h
Commit message (Collapse)AuthorAgeFilesLines
* #1052 Populate session column when adding actionsJose M. Guisado2021-07-221-0/+1
| | | | | | | | | | | | | | | | If the scope of a command, procedure or task is related to a group of computers then actions associated with that schedule can share the same session value. og_dbi_add_action was not initializing session value, as it is only used for visualization purposes in the legacy web interface. This patch enables og_dbi_add_action to populate session column by assigning it the id value of the first action related to the scope. Example: Power off command for a room scope of 4 clients will result in 4 actions, a power off for each client. The first action id will determine the session value for the rest.
* #997 Set stale check flag when processing schedule/createJose M. Guisado2021-03-111-1/+1
| | | | | | | | | | | If you schedule a command in the past, the scheduler executes such command immediately. When expanding a schedule that result in commands that run weekly, commands in the past are also executed, which is not expected. Fix this by using the check_stale flag (formerly on_start) so commands in the past that result from expansions are skipped.
* #971 rename sources folder to srcOpenGnSys Support Team2020-06-261-0/+65
Use the same folder as in ogClient.