Commit 8a801ddb by 孙龙

init

parent 03a22063
Showing with 4 additions and 4 deletions
...@@ -127,10 +127,10 @@ func (scheduler *Scheduler) handleJobResult(result *common.JobExecuteResult) { ...@@ -127,10 +127,10 @@ func (scheduler *Scheduler) handleJobResult(result *common.JobExecuteResult) {
JobName: result.ExecuteInfo.Job.Name, JobName: result.ExecuteInfo.Job.Name,
Command: result.ExecuteInfo.Job.Command, Command: result.ExecuteInfo.Job.Command,
Output: string(result.Output), Output: string(result.Output),
PlanTime: result.ExecuteInfo.PlanTime.UnixNano() / 1000 / 1000, PlanTime: result.ExecuteInfo.PlanTime.Unix() ,
ScheduleTime: result.ExecuteInfo.RealTime.UnixNano() / 1000 / 1000, ScheduleTime: result.ExecuteInfo.RealTime.Unix() ,
StartTime: result.StartTime.UnixNano() / 1000 / 1000, StartTime: result.StartTime.Unix() ,
EndTime: result.EndTime.UnixNano() / 1000 / 1000, EndTime: result.EndTime.Unix() ,
} }
if result.Err != nil { if result.Err != nil {
jobLog.Err = result.Err.Error() jobLog.Err = result.Err.Error()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment