rabin 1 year ago
parent
commit
859a1cac62
1 changed files with 1 additions and 1 deletions
  1. 1 1
      api/Cron.php

+ 1 - 1
api/Cron.php

@@ -10,7 +10,7 @@ class Cron
         $data = Dever::db('cron', 'manage')->load(array('ldate' => array('<=', $time)));
         if ($data) {
             foreach ($data as $k => $v) {
-                Cmd::run($v['interface'], $v['project']);
+                Cmd::run($v['interface'], array(), $v['project']);
                 $param['ldate'] = $v['ldate'] + $v['time'];
                 if ($param['ldate'] < $time) {
                     $param['ldate'] = $time + $v['time'];