summaryrefslogtreecommitdiffstats
path: root/sources/schedule.c
Commit message (Collapse)AuthorAgeFilesLines
* #942 ignore stale schedules on startOpenGnSys Support Team2020-06-021-23/+52
|
* #942 add command type to POST /schedule/createOpenGnSys Support Team2020-06-021-1/+1
| | | | Pass idcomando as task_id.
* #942 add enum og_schedule_typeOpenGnSys Support Team2020-06-021-7/+17
|
* #942 Add tasks to queueJavier Sánchez Parra2020-06-021-1/+1
|
* #942 Add weeks and week days to the schedule APIJavier Sánchez Parra2020-06-021-108/+151
| | | | | | * add og_schedule_create_weekdays() * add og_schedule_create_weeks() * add og_schedule_create_days()
* #942 Add support for scheduled tasks and commandsOpenGnSys Support Team2020-06-021-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