From d86410a631aa2fa41cd2ab9eb9cf2152565db179 Mon Sep 17 00:00:00 2001 From: liuweifeng Date: Wed, 1 Aug 2018 11:20:22 +0800 Subject: [PATCH] fix bug of tasks that only some but not all are executed --- toolbox/task.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/toolbox/task.go b/toolbox/task.go index 672717cd..259f3586 100644 --- a/toolbox/task.go +++ b/toolbox/task.go @@ -428,6 +428,9 @@ func run() { continue case <-changed: now = time.Now().Local() + for _, t := range AdminTaskList { + t.SetNext(now) + } continue case <-stop: return