作者 lyh

hx

@@ -37,6 +37,7 @@ class SyncVideo extends Command @@ -37,6 +37,7 @@ class SyncVideo extends Command
37 echo date('Y-m-d H:i:s') . ' | ' . $cmd . PHP_EOL; 37 echo date('Y-m-d H:i:s') . ' | ' . $cmd . PHP_EOL;
38 $code = shell_exec($cmd); 38 $code = shell_exec($cmd);
39 if(200 != (int)$code){ 39 if(200 != (int)$code){
  40 + echo date('Y-m-d H:i:s') . ' | ' . $code . PHP_EOL;
40 $errorFileModel = new ErrorFile(); 41 $errorFileModel = new ErrorFile();
41 $errorFileModel->add(['path'=>$this->param['path'].'/'.$this->param['name']]); 42 $errorFileModel->add(['path'=>$this->param['path'].'/'.$this->param['name']]);
42 } 43 }