From e1272ce273c5d5abc4223bf24a3ed03ef8c158b2 Mon Sep 17 00:00:00 2001 From: Water-Melon Date: Tue, 14 Nov 2023 00:31:58 +0800 Subject: [PATCH] fix(proc): fix the bug that is not using the default cron expression --- proc.m | 1 + 1 file changed, 1 insertion(+) diff --git a/proc.m b/proc.m index ab34884..65f1643 100644 --- a/proc.m +++ b/proc.m @@ -104,6 +104,7 @@ body['interval']; body['replica']; body['last_time'] = 0; + body['type'] == 'cron' && body['cron']; body['run_flag'] = false; if (!Validate(this.rules()['body'], body)) { R['code'] = 400;