mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-23 23:06:06 +08:00
修改pm2任务日志
This commit is contained in:
parent
f2aa355389
commit
6fa8a678bf
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue
Block a user