diff --git a/crontab.go b/crontab.go index 164a776..ba78c05 100644 --- a/crontab.go +++ b/crontab.go @@ -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--