增加任务运行数日志

This commit is contained in:
whyour
2023-08-25 19:25:12 +08:00
parent ef4999be55
commit e9416c23df
2 changed files with 16 additions and 1 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ const addCron = (
id,
nodeSchedule.scheduleJob(id, schedule, async () => {
Logger.info(
`[schedule] 时间: ${dayjs().format(
`[schedule][准备运行任务] 时间: ${dayjs().format(
'YYYY-MM-DD HH:mm:ss',
)},运行命令: ${cmdStr}`,
);