From 4d3f2abc9041fddc9ee600d1a385586ce6449dda Mon Sep 17 00:00:00 2001 From: aaronchen2k <462826@qq.com> Date: Wed, 15 Jan 2020 19:15:16 +0800 Subject: [PATCH] update cron->ajaxExec method to support params --- module/cron/control.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/module/cron/control.php b/module/cron/control.php index 4c85d21a1a..2ee0cb5bca 100644 --- a/module/cron/control.php +++ b/module/cron/control.php @@ -187,6 +187,11 @@ class cron extends control if($now > $cron['time']) { + // TODO: debug cron dow = 2-6/1 + if ($id == 16) { + $id = 16; + } + $this->cron->changeStatus($id, 'running'); $parsedCrons[$id]['time'] = $cron['cron']->getNextRunDate();