| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 2 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 3 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | 97 | protected function schedule(Schedule $schedule): void |
|
| 26 | { |
||
| 27 | // $schedule->command('inspire') |
||
| 28 | // ->hourly(); |
||
| 29 | |||
| 30 | // start the queue daemon, if its not running |
||
|
1 ignored issue
–
show
|
|||
| 31 | 97 | if (!$this->osProcessIsRunning('queue:work')) { |
|
| 32 | 97 | $schedule->command('queue:work')->everyMinute(); |
|
| 33 | } |
||
| 76 |