修复手动停止任务日志目录

This commit is contained in:
hanhh 2021-07-04 19:15:09 +08:00
parent e687511f32
commit 0728f1f231

View File

@ -175,7 +175,7 @@ export default class CronService {
} }
if (doc.log_path) { if (doc.log_path) {
fs.appendFileSync( fs.appendFileSync(
`${config.logPath}${doc.log_path}`, `${doc.log_path}`,
`\n## 执行结束... ${new Date().toLocaleString()} `, `\n## 执行结束... ${new Date().toLocaleString()} `,
); );
} }