summaryrefslogtreecommitdiffstats
path: root/src/providers/dp_ptask.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/providers/dp_ptask.c')
-rw-r--r--src/providers/dp_ptask.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/providers/dp_ptask.c b/src/providers/dp_ptask.c
index 5a14e60b2..9eca429d1 100644
--- a/src/providers/dp_ptask.c
+++ b/src/providers/dp_ptask.c
@@ -238,6 +238,8 @@ static void be_ptask_schedule(struct be_ptask *task,
task->name);
be_ptask_disable(task);
}
+
+ task->next_execution = tv.tv_sec;
}
errno_t be_ptask_create(TALLOC_CTX *mem_ctx,