Browse Source

debug crontab

stanley-king 8 years ago
parent
commit
c8b1569b8a
1 changed files with 3 additions and 0 deletions
  1. 3 0
      crontab/control/minutes.php

+ 3 - 0
crontab/control/minutes.php

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