From 6fa8a678bfd10f8d4b2d5a6f840c045e51c8aba9 Mon Sep 17 00:00:00 2001 From: hanhh <18330117883@163.com> Date: Fri, 15 Oct 2021 22:32:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9pm2=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- back/services/schedule.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/back/services/schedule.ts b/back/services/schedule.ts index 9a573ac8..99493537 100644 --- a/back/services/schedule.ts +++ b/back/services/schedule.ts @@ -12,10 +12,11 @@ export default class ScheduleService { async generateSchedule({ _id = '', command, name, schedule }: Crontab) { this.logger.info( - '[创建定时任务],任务ID: %s,cron: %s,任务名: %s,任务方法: %s', + '[创建定时任务],任务ID: %s,cron: %s,任务名: %s,执行命令: %s', _id, schedule, name, + command, ); this.scheduleStacks.set(