Ver código fonte

debug crontab

stanley-king 8 anos atrás
pai
commit
c8b1569b8a
1 arquivos alterados com 3 adições e 0 exclusões
  1. 3 0
      crontab/control/minutes.php

+ 3 - 0
crontab/control/minutes.php

@@ -77,6 +77,9 @@ class minutesControl extends BaseCronControl
                 continue;
             }
 
+            $method = '_cron_'.$k;
+            Log::record("crontab minutest err:{$method}",Log::DEBUG);
+
             $result = call_user_func_array(array($this,'_cron_'.$k),array($v));
             if (is_array($result)){
                 $cronid = array_merge($cronid,$result);