mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-27 14:46:06 +08:00
更新停止定时任务日志
This commit is contained in:
parent
adda5982a5
commit
bb4e66715c
|
@ -132,7 +132,7 @@ export default class CronService {
|
||||||
{ _id: doc._id },
|
{ _id: doc._id },
|
||||||
{ $set: { status: CrontabStatus.idle } },
|
{ $set: { status: CrontabStatus.idle } },
|
||||||
);
|
);
|
||||||
fs.appendFileSync(logFile, `\n\n${stderr}\n${stdout}\n执行结束...`);
|
fs.appendFileSync(logFile, `\n\n${stderr}\n${stdout}...`);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user