PHP script to check redis queue status
Is there a command / php script available to check whether redis queue is waiting to execute long time. I have a Lumen API and I have created program to run queue in supervisor. In my centos some times this supervisor get stops. In this scenario I don't know and thinking my service queue is running. If any of my customers say then only I will check service and start manually. To avoid this I have planned to created one service in Lumen to check every minutes to monitor whether queue is running or waiting long time to process. I need to know is there any php command available to check this or any Laravel code available to return queue is waiting more than 2 min like this. And also I need to know how to view the list of works waiting in this queue.
Please or to participate in this conversation.