Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | #971 split into smaller file | OpenGnSys Support Team | 2020-06-18 | 1 | -0/+8 |
| | | | | | | | | 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 procedures | Javier Sánchez Parra | 2020-06-02 | 1 | -6/+0 |
| | | | | | | | | | 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 start | OpenGnSys Support Team | 2020-06-02 | 1 | -23/+52 |
| | |||||
* | #942 add command type to POST /schedule/create | OpenGnSys Support Team | 2020-06-02 | 1 | -1/+1 |
| | | | | Pass idcomando as task_id. | ||||
* | #942 add enum og_schedule_type | OpenGnSys Support Team | 2020-06-02 | 1 | -7/+17 |
| | |||||
* | #942 Add tasks to queue | Javier Sánchez Parra | 2020-06-02 | 1 | -1/+1 |
| | |||||
* | #942 Add weeks and week days to the schedule API | Javier Sánchez Parra | 2020-06-02 | 1 | -108/+151 |
| | | | | | | * add og_schedule_create_weekdays() * add og_schedule_create_weeks() * add og_schedule_create_days() | ||||
* | #942 Add support for scheduled tasks and commands | OpenGnSys Support Team | 2020-06-02 | 1 | -0/+394 |
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 |