|
@@ -288,6 +288,10 @@ class minutesControl extends BaseCronControl
|
|
|
$cron = $model_cron->getCronList(['exetime'=> ['elt',time()],'type' => ['in',$types]]);
|
|
|
if (!is_array($cron)) return false;
|
|
|
|
|
|
+ $count = count($cron);
|
|
|
+ if ($count <= 0) return false;
|
|
|
+ Log::record("match cron count={$count}",Log::DEBUG);
|
|
|
+
|
|
|
$cron_array = [];
|
|
|
$cronid = [];
|
|
|
|