修改系统日志时间打印

This commit is contained in:
whyour
2023-08-26 20:51:17 +08:00
parent b4e4e84bbd
commit 648b9c4520
5 changed files with 8 additions and 21 deletions
+1 -3
View File
@@ -33,9 +33,7 @@ const addCron = (
id,
nodeSchedule.scheduleJob(id, schedule, async () => {
Logger.info(
`[schedule][准备运行任务] 时间: ${dayjs().format(
'YYYY-MM-DD HH:mm:ss',
)},运行命令: ${cmdStr}`,
`[schedule][准备运行任务] 命令: ${cmdStr}`,
);
runCron(`ID=${id} ${cmdStr}`);
}),