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