Commit 4bfc8115 by 冷斌

fix bug

parent 2d57fe05
...@@ -36,6 +36,7 @@ class Crond extends Command ...@@ -36,6 +36,7 @@ class Crond extends Command
/* 永不超时 */ /* 永不超时 */
ini_set('max_execution_time', 0); ini_set('max_execution_time', 0);
echo 1; die;
$name = $input->getOption('name'); $name = $input->getOption('name');
if ($name !== null) { if ($name !== null) {
return $this->executeCmd($name); return $this->executeCmd($name);
......
...@@ -48,7 +48,6 @@ class ToTs ...@@ -48,7 +48,6 @@ class ToTs
pclose(popen('start /wait /B ' . $fpos, 'r')); pclose(popen('start /wait /B ' . $fpos, 'r'));
} else { } else {
$cmd = 'PATH=$PATH ' . $fpos . ' >/dev/null >/dev/null 2>/var/log/ffmpeg.log'; $cmd = 'PATH=$PATH ' . $fpos . ' >/dev/null >/dev/null 2>/var/log/ffmpeg.log';
echo $cmd;die;
exec($cmd); exec($cmd);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment