添加时间

This commit is contained in:
eson 2019-01-02 02:03:58 +08:00
parent d148ea2445
commit b54c0cf45c

View File

@ -304,7 +304,7 @@ func (cron *Crontab) intervalCalculateNextTime(now time.Time) {
}
fmt.Println(cron.uid.String(), "success:", cron.trueCount, " wait:", isecond)
fmt.Println(time.Now(), cron.uid.String(), "success:", cron.trueCount, " wait:", isecond)
} else {
@ -322,7 +322,7 @@ func (cron *Crontab) intervalCalculateNextTime(now time.Time) {
}
}
fmt.Println(cron.uid.String(), "fail:", cron.failCount, " wait:", isecond)
fmt.Println(time.Now(), cron.uid.String(), "fail:", cron.failCount, " wait:", isecond)
}
iv.Count--