mirror of
https://github.com/whyour/qinglong.git
synced 2026-06-30 20:35:09 +08:00
修改log日志
This commit is contained in:
@@ -182,7 +182,10 @@ export default class CronService {
|
||||
this.logger.silly('Original command: ' + command);
|
||||
|
||||
let logFile = `${config.manualLogPath}${_id}.log`;
|
||||
fs.writeFileSync(logFile, `开始执行...\n${new Date().toString()}\n`);
|
||||
fs.writeFileSync(
|
||||
logFile,
|
||||
`开始执行... ${new Date().toLocaleString()}\n\n`,
|
||||
);
|
||||
|
||||
let cmdStr = command;
|
||||
if (!cmdStr.includes('task ') && !cmdStr.includes('ql ')) {
|
||||
|
||||
Reference in New Issue
Block a user