diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-05-12 12:47:02 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-06-02 12:32:36 +0200 |
commit | 58fc387d36dfa4b93497d7759970fcf98db4c5a6 (patch) | |
tree | 23a1c0c158d11bbe4c21045c7aeafed2946fc07c /admin/Sources/Services/ogAdmServer/sources/schedule.c | |
parent | 6b5800739000ff786018d6e8d89aca95406486f1 (diff) |
#942 add command type to POST /schedule/create
Pass idcomando as task_id.
Diffstat (limited to 'admin/Sources/Services/ogAdmServer/sources/schedule.c')
-rw-r--r-- | admin/Sources/Services/ogAdmServer/sources/schedule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/Sources/Services/ogAdmServer/sources/schedule.c b/admin/Sources/Services/ogAdmServer/sources/schedule.c index d7eb3363..fd0e3023 100644 --- a/admin/Sources/Services/ogAdmServer/sources/schedule.c +++ b/admin/Sources/Services/ogAdmServer/sources/schedule.c @@ -407,7 +407,7 @@ static void og_agent_timer_cb(struct ev_loop *loop, ev_timer *timer, int events) struct og_schedule *current; current = container_of(timer, struct og_schedule, timer); - og_dbi_schedule_task(current->task_id, current->schedule_id); + og_schedule_run(current->task_id, current->schedule_id, current->type); ev_timer_stop(loop, timer); list_del(¤t->list); |