@@ -51,7 +51,7 @@ |
||
51 | 51 | |
52 | 52 | $jobs = array_filter( |
53 | 53 | $jobs, |
54 | - function ($job) use ($now) { |
|
54 | + function($job) use ($now) { |
|
55 | 55 | return $job->isDue($now); |
56 | 56 | } |
57 | 57 | ); |
@@ -48,7 +48,7 @@ |
||
48 | 48 | */ |
49 | 49 | public function isRunning() |
50 | 50 | { |
51 | - $result = shell_exec(sprintf("ps %d", $this->getProcessID()) . " | grep -v '<defunct>'"); |
|
51 | + $result = shell_exec(sprintf("ps %d", $this->getProcessID())." | grep -v '<defunct>'"); |
|
52 | 52 | |
53 | 53 | return (count(preg_split("/\n/", $result)) > 2); |
54 | 54 | } |
@@ -57,7 +57,7 @@ |
||
57 | 57 | $command = $this->getCommand(); |
58 | 58 | |
59 | 59 | if ($this->getOutput()) { |
60 | - $command .= ' > ' . $this->getOutput() . ' 2>&1'; |
|
60 | + $command .= ' > '.$this->getOutput().' 2>&1'; |
|
61 | 61 | } |
62 | 62 | |
63 | 63 | return $command; |