fix bug of tasks that only some but not all are executed
This commit is contained in:
parent
053a075344
commit
d86410a631
@ -428,6 +428,9 @@ func run() {
|
|||||||
continue
|
continue
|
||||||
case <-changed:
|
case <-changed:
|
||||||
now = time.Now().Local()
|
now = time.Now().Local()
|
||||||
|
for _, t := range AdminTaskList {
|
||||||
|
t.SetNext(now)
|
||||||
|
}
|
||||||
continue
|
continue
|
||||||
case <-stop:
|
case <-stop:
|
||||||
return
|
return
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user