We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug 老是报如下提示,看了golang源码,还是不知道如何解决问题,也不知道为什么要报这“告警内容”,求解
软件版本 : jiacrontab v2.1.0 (built w/go1.15.5) 系统信息:
cat /etc/issue Debian GNU/Linux 10 \n \l cat /etc/timezone Asia/Shanghai
这源码不是很理解
// 数据库中记录的执行时刻等于计时器中的时刻和现在的时刻才允许执行 execTime := j.detail.NextExecTime.Truncate(time.Second) if !(execTime.Equal(j.job.GetNextExecTime().Truncate(time.Second)) && execTime.Equal(now.Truncate(time.Second))) { log.Errorf("%s(%d) JobEntry.exec time error(%s not equal %s)", j.detail.Name, j.detail.ID, execTime, now) j.jd.addJob(&crontab.Job{ ID: j.detail.ID, Second: j.detail.TimeArgs.Second, Minute: j.detail.TimeArgs.Minute, Hour: j.detail.TimeArgs.Hour, Day: j.detail.TimeArgs.Day, Month: j.detail.TimeArgs.Month, Weekday: j.detail.TimeArgs.Weekday, }, false) return }
The text was updated successfully, but these errors were encountered:
主要是用于校验执行时间和当前时间是否一致的,如果不一致则禁止执行。
Sorry, something went wrong.
我观察到的结果是: 抛出了这个错误之后,定时任务还是执行了的
No branches or pull requests
Describe the bug
老是报如下提示,看了golang源码,还是不知道如何解决问题,也不知道为什么要报这“告警内容”,求解
软件版本 : jiacrontab v2.1.0 (built w/go1.15.5)
系统信息:
这源码不是很理解
The text was updated successfully, but these errors were encountered: