I donβt think that listening is intended to output any result, and I donβt see anything in ListenCommand , which suppose there are even more results. However, when you ask a craftsman for help, he offers --verbose (-v) , which you could try?
php artisan queue:listen -v
My understanding of hearing is that it is designed to run as a background service, essentially calling queue:work several times. If you want to check if the worker is working, you simply call queue:work yourself. You probably want to add logging to your code, and then you can look in the log files.
$ php artisan help queue:listen Usage: queue:listen [--queue[="..."]] [--delay[="..."]] [--memory[="..."]] [--timeout[="..."]] [connection] Arguments: connection The name of connection Options: --queue The queue to listen on --delay Amount of time to delay failed jobs (default: 0) --memory The memory limit in megabytes (default: 128) --timeout Seconds a job may run before timing out (default: 60) --help (-h) Display this help message. --quiet (-q) Do not output any message. --verbose (-v) Increase verbosity of messages. --version (-V) Display this application version. --ansi Force ANSI output. --no-ansi Disable ANSI output. --no-interaction (-n) Do not ask any interactive question. --env The environment the command should run under.>
source share