修复停止订阅执行日志

This commit is contained in:
whyour
2023-08-23 22:57:18 +08:00
parent 4d5fa320ea
commit ac904cae61
2 changed files with 3 additions and 11 deletions
-8
View File
@@ -304,14 +304,6 @@ export default class SubscriptionService {
this.logger.error(error);
}
}
const absolutePath = await handleLogPath(doc.log_path as string);
fs.appendFileSync(
`${absolutePath}`,
`\n## 执行结束... ${dayjs().format(
'YYYY-MM-DD HH:mm:ss',
)}${LOG_END_SYMBOL}`,
);
}
await SubscriptionModel.update(