mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 09:45:36 +08:00
系统设置增加系统运行日志
This commit is contained in:
1 parent
b002cbef3a
commit
4f7649f157
33 files changed
+864
-112
No files matched your search
@@ -370,7 +370,7 @@ export default class CronService {
|
||||
try {
|
||||
await killTask(doc.pid);
|
||||
} catch (error) {
|
||||
this.logger.silly(error);
|
||||
this.logger.error(error);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -530,7 +530,6 @@ export default class CronService {
|
||||
}
|
||||
});
|
||||
|
||||
this.logger.silly(crontab_string);
|
||||
fs.writeFileSync(config.crontabFile, crontab_string);
|
||||
|
||||
execSync(`crontab ${config.crontabFile}`);
|
||||
|
||||
Reference in new issue
Block a user