From e96a2818b7a7e09eb86b6ef366e1b73a37a7c703 Mon Sep 17 00:00:00 2001 From: whyour Date: Fri, 14 Jan 2022 23:44:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=81=9C=E6=AD=A2=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E5=90=8E=E4=BB=BB=E5=8A=A1=E7=8A=B6=E6=80=81=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= 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 ec671507..a38875ce 100644 --- a/back/services/cron.ts +++ b/back/services/cron.ts @@ -209,7 +209,7 @@ export default class CronService { } await CrontabModel.update( - { status: CrontabStatus.queued, pid: undefined }, + { status: CrontabStatus.idle, pid: undefined }, { where: { id: ids } }, ); }