系统设置增加系统运行日志

This commit is contained in:
whyour committed 2023-08-21 00:10:43 +08:00
1 parent b002cbef3a
commit 4f7649f157
33 files changed
+864 -112

No files matched your search

+1 -2
View File
@@ -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}`);