Developers
Console Commands
Queue Monitor includes console commands you can run from your Craft project’s directory.
Stalled Queue Monitoring
Checks whether the queue has stalled and sends the stalled queue alert when it has. The queue counts as stalled when a job has been waiting longer than stalledQueueThreshold minutes without a worker picking it up. The alert goes to the user group, email addresses and webhook in your settings, and another isn’t sent until stalledQueueCheckInterval minutes have passed, however often the command runs. It does nothing unless monitorStalledQueue is on.
The check runs outside the queue, so it still works when the queue worker has stopped. Run it from cron, such as every five minutes.
php craft queue-monitor/stalled/check*/5 * * * * /path/to/project/craft queue-monitor/stalled/check
Last updated: Nov 13, 2026, 3:19:45 PM