From b54c0cf45cb281f7d41eac03aa16137fd686e934 Mon Sep 17 00:00:00 2001 From: eson <474420502@qq.com> Date: Wed, 2 Jan 2019 02:03:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crontab.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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--