summaryrefslogtreecommitdiffstats
path: root/sources/schedule.c
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2020-04-27 16:58:30 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2020-06-02 12:32:36 +0200
commit85b345db77d64013f83d5ebc51389776e110464f (patch)
treea86fd516f107e94ad2ecd0e3cfbd54552b355a3d /sources/schedule.c
parent9a85c7a31757b4b624c908f4b2268376bd6da55d (diff)
#942 Add tasks to queue
Diffstat (limited to 'sources/schedule.c')
-rw-r--r--sources/schedule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/schedule.c b/sources/schedule.c
index 6299acc..3d30aad 100644
--- a/sources/schedule.c
+++ b/sources/schedule.c
@@ -397,7 +397,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);
+ og_dbi_schedule_task(current->task_id, current->schedule_id);
ev_timer_stop(loop, timer);
list_del(&current->list);