Added some output
This commit is contained in:
parent
a8cff06e87
commit
49b3090cd2
|
@ -49,6 +49,7 @@ class DaemonCommand extends Command
|
||||||
if(!empty($jobsToRun)) {
|
if(!empty($jobsToRun)) {
|
||||||
foreach($jobsToRun as $job) {
|
foreach($jobsToRun as $job) {
|
||||||
$jobRepo->setJobRunning($job, true);
|
$jobRepo->setJobRunning($job, true);
|
||||||
|
$output->writeln('Runnig Job ' . $job);
|
||||||
$pid = pcntl_fork();
|
$pid = pcntl_fork();
|
||||||
if($pid == -1) {
|
if($pid == -1) {
|
||||||
$jobRepo->RunJob($job);
|
$jobRepo->RunJob($job);
|
||||||
|
|
Loading…
Reference in New Issue