yii2-queue icon indicating copy to clipboard operation
yii2-queue copied to clipboard

How to retrieve info about Job object from queue?

Open kwazaro opened this issue 4 years ago • 0 comments

How to get complete info about job in queue by it's ID?

What steps will reproduce the problem?

something like Yii::$app->queue->getJob(123);

What's expected?

It would be nice to get the object of job with it's status in queue and all properties.

What do you get instead?

Now I can only get general information in console, for exampla php yii queue/info shows only number of jobs. But how to get what exactly job objects are there in queue? I tried to use queue-monitor extension, but there were some problems with it.

Additional info

Q A
Yii version
PHP version
Operating system

kwazaro avatar May 07 '21 15:05 kwazaro