From de2f33c84a78d3c0f75b91a6f6327c5cc2d6fc4c Mon Sep 17 00:00:00 2001 From: wangyidong Date: Fri, 13 Mar 2015 15:21:53 +0800 Subject: [PATCH] * remove test code. --- module/cron/control.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/module/cron/control.php b/module/cron/control.php index edee42ebc1..34573637ff 100644 --- a/module/cron/control.php +++ b/module/cron/control.php @@ -152,11 +152,9 @@ class cron extends control /* Skip empty and stop cron.*/ if(empty($cronInfo) or $cronInfo->status == 'stop') continue; /* Skip cron that status is running and run time is less than max. */ - var_dump($cronInfo->status == 'running' and (time() - strtotime($cronInfo->lastTime)) < $this->config->cron->maxRunTime); if($cronInfo->status == 'running' and (time() - strtotime($cronInfo->lastTime)) < $this->config->cron->maxRunTime) continue; /* Skip cron that last time is more than this cron time. */ if($cronInfo->lastTime > $cron['time']->format(DT_DATETIME1)) continue; - exit; if($now > $cron['time']) {