update cron->ajaxExec method to support params

This commit is contained in:
aaronchen2k
2020-01-15 19:15:16 +08:00
parent 348cd174d1
commit 4d3f2abc90
+5
View File
@@ -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();