job
This commit is contained in:
@@ -506,7 +506,7 @@ func RefreshJobStatus(ctx *jxcontext.Context) (err error) {
|
||||
return
|
||||
}
|
||||
for _, job := range jobs {
|
||||
if time.Now().Sub(job.FinishedAt) >= 0 {
|
||||
if time.Now().Sub(*job.FinishedAt) >= 0 {
|
||||
job.Status = model.JobStatusOverdue
|
||||
dao.UpdateEntity(db, job, "Status")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user