|
@@ -71,7 +71,7 @@ func (t *timeTask) RunInSecondTimeLoop(msg, start, end string, duration int64, r
|
|
d := time.Duration(duration) * time.Second
|
|
d := time.Duration(duration) * time.Second
|
|
logger.Info(msg, "start runInTimeLoop after", d)
|
|
logger.Info(msg, "start runInTimeLoop after", d)
|
|
time.AfterFunc(d, func() {
|
|
time.AfterFunc(d, func() {
|
|
- t.RunInTimeLoop(msg, start, end, duration, true, false, nowRunHours, f)
|
|
|
|
|
|
+ t.RunInSecondTimeLoop(msg, start, end, duration, true, false, nowRunHours, f)
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
|