Skip to content

How to retrieve info about Job object from queue? #418

Open
@kwazaro

Description

@kwazaro

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions