How to empty all queued jobs in a redis database for a given queue in Laravel versions previous to Laravel 8 ?
Sometime when your queue is filling in a dev environment you want to clean all queued jobs to go back to a fresh start.
Laravel doesn't provide an easy way for doing so before 8.x and Redis database aren't the most intuitive to do this task manually.