mirror of
https://github.com/whyour/qinglong.git
synced 2026-06-30 20:35:09 +08:00
修复手动停止任务日志目录
This commit is contained in:
@@ -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()} `,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user