From e3ca141890c81fa8b5b398fbf91ad1442d9b96d4 Mon Sep 17 00:00:00 2001 From: zhouxin Date: Tue, 4 Apr 2023 12:35:35 +0800 Subject: [PATCH] * Resolve feedback 2257. --- module/cron/model.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/module/cron/model.php b/module/cron/model.php index c14dc2e83d..2611036957 100644 --- a/module/cron/model.php +++ b/module/cron/model.php @@ -35,6 +35,10 @@ class cronModel extends model return $this->dao->select('*')->from(TABLE_CRON) ->where('1=1') ->beginIF(strpos($params, 'nostop') !== false)->andWhere('status')->ne('stop')->fi() + ->beginIF($this->config->edition != 'max') + ->andWhere('command')->ne('moduleName=measurement&methodName=initCrontabQueue') + ->andWhere('command')->ne('moduleName=measurement&methodName=execCrontabQueue') + ->fi() ->fetchAll('id'); }