Support the ongoing development of →
Last updated 1 month ago.

You can try something like

Queue::getIron()->getMessageById($queue_name, $msg_id)

which calls API if you use queues.

Last updated 1 month ago.

Depending on the driver you are using you can see the contents of the queue. For example with the database driver it is a simple table and it has the details of the jobs "serialized". you could check those details.

But why do you want to check that? Avoid a job doing one thing twice? Maybe the job should do some validations when it runs and its not the queue that should be responsible of know what it has queued.

There are some packages out there like "queue monitor" or "queue checker"


Sorry, pasted the response in the wrong thread.

Luckily it at least had something to do :P


Sign in to participate in this thread!

Full Stack Europe

Your banner here too?

trideout trideout trideout Joined 22 Jul 2014


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 - All rights reserved.