diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-05-12 14:26:43 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-06-02 12:32:36 +0200 |
commit | 23dc851cb210eaa0e5618c86c35a269b30a7df95 (patch) | |
tree | 38ca17dbc816a65a77a7800657e64c15257d559b /admin/Sources/Services/ogAdmServer/sources/ogAdmServer.c | |
parent | b0060401e538f797b07f18d6d807868f70e78d38 (diff) |
#942 ignore stale schedules on start
Diffstat (limited to 'admin/Sources/Services/ogAdmServer/sources/ogAdmServer.c')
-rw-r--r-- | admin/Sources/Services/ogAdmServer/sources/ogAdmServer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/admin/Sources/Services/ogAdmServer/sources/ogAdmServer.c b/admin/Sources/Services/ogAdmServer/sources/ogAdmServer.c index 86b48d85..85d19685 100644 --- a/admin/Sources/Services/ogAdmServer/sources/ogAdmServer.c +++ b/admin/Sources/Services/ogAdmServer/sources/ogAdmServer.c @@ -3807,6 +3807,7 @@ static int og_dbi_schedule_get(void) time.hours = dbi_result_get_uint(result, "horas"); time.am_pm = dbi_result_get_uint(result, "ampm"); time.minutes = dbi_result_get_uint(result, "minutos"); + time.on_start = true; og_schedule_create(schedule_id, task_id, OG_SCHEDULE_TASK, &time); |