修改pm2任务日志

This commit is contained in:
hanhh
2021-10-15 22:32:32 +08:00
parent d56e6359d0
commit 38858ccdb2
+2 -1
View File
@@ -12,10 +12,11 @@ export default class ScheduleService {
async generateSchedule({ _id = '', command, name, schedule }: Crontab) {
this.logger.info(
'[创建定时任务],任务ID: %scron: %s,任务名: %s任务方法: %s',
'[创建定时任务],任务ID: %scron: %s,任务名: %s执行命令: %s',
_id,
schedule,
name,
command,
);
this.scheduleStacks.set(