This commit is contained in:
shoopea 2019-06-04 06:18:26 +08:00
parent 49f63f4faf
commit f7120953f3

2
job.go
View File

@ -88,7 +88,7 @@ func rescheduleJob(jobID64 int64, status int32, schedule time.Time) error {
}
defer stmt.Close()
_, err = stmt.Exec(time.Now(), status, jobID64)
_, err = stmt.Exec(schedule, status, jobID64)
s := fmt.Sprintf("rescheduleJob, update obj_job(%d)", jobID64)
logOnError(err, s)
if err != nil {