stanley-king 4 tahun lalu
induk
melakukan
4c599b24c2
1 mengubah file dengan 4 tambahan dan 0 penghapusan
  1. 4 0
      crontab/control/minutes.php

+ 4 - 0
crontab/control/minutes.php

@@ -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 = [];