Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kwazaro opened this issue May 7, 2021 · 0 comments
Open

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

kwazaro opened this issue May 7, 2021 · 0 comments

Comments

@kwazaro
Copy link

kwazaro commented May 7, 2021

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants