From 0728f1f231da7c111562f30f0dab28e0e645f846 Mon Sep 17 00:00:00 2001 From: hanhh <18330117883@163.com> Date: Sun, 4 Jul 2021 19:15:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=89=8B=E5=8A=A8=E5=81=9C?= =?UTF-8?q?=E6=AD=A2=E4=BB=BB=E5=8A=A1=E6=97=A5=E5=BF=97=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- back/services/cron.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/back/services/cron.ts b/back/services/cron.ts index 35fd55ad..fbccceaf 100644 --- a/back/services/cron.ts +++ b/back/services/cron.ts @@ -175,7 +175,7 @@ export default class CronService { } if (doc.log_path) { fs.appendFileSync( - `${config.logPath}${doc.log_path}`, + `${doc.log_path}`, `\n## 执行结束... ${new Date().toLocaleString()} `, ); }