mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 09:45:36 +08:00
修改log日志
This commit is contained in:
1 parent
68884b37a2
commit
bcdca5084c
3 files changed
+5
-36
No files matched your search
@@ -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