mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-24 07:16:08 +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) {
|
async generateSchedule({ _id = '', command, name, schedule }: Crontab) {
|
||||||
this.logger.info(
|
this.logger.info(
|
||||||
'[创建定时任务],任务ID: %s,cron: %s,任务名: %s,任务方法: %s',
|
'[创建定时任务],任务ID: %s,cron: %s,任务名: %s,执行命令: %s',
|
||||||
_id,
|
_id,
|
||||||
schedule,
|
schedule,
|
||||||
name,
|
name,
|
||||||
|
command,
|
||||||
);
|
);
|
||||||
|
|
||||||
this.scheduleStacks.set(
|
this.scheduleStacks.set(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user