This commit is contained in:
shoopea 2019-08-29 18:35:04 +08:00
parent bee4b655a7
commit 5022f97e6f

2
job.go
View File

@ -45,7 +45,7 @@ func createJob(jobTypeID int32, priority int32, userID64 int64, trigger int64, s
}
defer stmt.Close()
log.PrintF("createJob : timeout : %s\n.", time.Unix(maxUnixTimestamp, 0).UTC().Format(time.RFC3339))
log.Printf("createJob : timeout : %s\n.", time.Unix(maxUnixTimestamp, 0).UTC().Format(time.RFC3339))
_, err = stmt.Exec(objId, priority, userID64, trigger, schedule.UTC(), time.Now().UTC(), time.Unix(maxUnixTimestamp, 0).UTC(), payload)
logOnError(err, "createJob : insert obj_job")