I have problem how to check if a Job is done or not. I am looking everywhere but i don't see that Laravel/Lumen has anything to work with, I am probably missing some. Example code:
$job = ((new FooJob($data)));
$jobID = dispatch($job);
if(is_numeric($jobID)) {
while(elapsedTime < 10sec) {
CHECK_JOB_SOMEHOW_IF_IS_DONE !?!
}
}
I have installed https://github.com/gilbitron/laravel-queue-monitor which is really helping out, to save data on completed jobs. There i don't see anything either.
I have Lumen 5.4 framework.