Added some output

This commit is contained in:
Jeroen De Meerleer 2021-05-25 23:41:14 +02:00
parent a8cff06e87
commit 49b3090cd2
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6
1 changed files with 1 additions and 0 deletions

View File

@ -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);