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

This commit is contained in:
hanhh committed 2021-09-23 13:42:32 +08:00
1 parent c15ff89746
commit af2f3deeab
6 files changed
+124 -14

No files matched your search

+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) => {