summaryrefslogtreecommitdiffstats
path: root/sources/schedule.h
Commit message (Collapse)AuthorAgeFilesLines
* #971 rename sources folder to srcOpenGnSys Support Team2020-06-261-65/+0
| | | | Use the same folder as in ogClient.
* #971 split into smaller fileOpenGnSys Support Team2020-06-181-0/+17
| | | | | | | | Split ogAdmServer into several files: * sources/rest.c that implements the server REST API. * sources/client.c that implements the client REST API. * sources/json.c that provides a few JSON helpers.
* #942 Fix immediate proceduresJavier Sánchez Parra2020-06-021-0/+1
| | | | | | | | | New versions of ogAdmServer handle pending commands in a different way. Instant procedures uses the old way, now unsupported, so we need to adapt instant procedures. This commit adapts instant procedures to work with the new pending commands implementation.
* #942 ignore stale schedules on startOpenGnSys Support Team2020-06-021-0/+2
|
* #942 add command type to POST /schedule/createOpenGnSys Support Team2020-06-021-1/+3
| | | | Pass idcomando as task_id.
* #942 add enum og_schedule_typeOpenGnSys Support Team2020-06-021-0/+6
|
* #942 Add tasks to queueJavier Sánchez Parra2020-06-021-1/+1
|
* #942 Add support for scheduled tasks and commandsOpenGnSys Support Team2020-06-021-0/+37
This field needs to be at least 31 bits long to store all days in a month. Other fields are also set to 32 bits because unsigned int length can change depending on the system. We also need to support the three ways that the ogAdmAgent and the WebConsole have to create an schedule. At first, we only supported the easiest method: * Hour, day, month and year -> 10:00, 28, february, 2020 This commit adds these two ways to create an schedule: * Hour, week day, month and year -> 10:00, Monday, february, 2020 * Hour, week, month and year -> 10:00, first week, february, 2020