添加最后运行时间和运行时长

This commit is contained in:
hanhh
2021-09-23 13:42:32 +08:00
parent c15ff89746
commit af2f3deeab
6 changed files with 124 additions and 14 deletions
+2
View File
@@ -270,6 +270,8 @@ export default (app: Router) => {
status: Joi.string().required(),
pid: Joi.string().optional(),
log_path: Joi.string().optional(),
last_running_time: Joi.string().optional(),
last_execution_time: Joi.string().optional(),
}),
}),
async (req: Request, res: Response, next: NextFunction) => {