浏览代码

debug crontab

stanley-king 8 年之前
父节点
当前提交
c8b1569b8a
共有 1 个文件被更改,包括 3 次插入0 次删除
  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);