in Laravel

Laravel Clear Queued Jobs

Laravel has a lot of helper artisan commands, one of them allows you to clear the cache.

php artisan cache:clear

This command has an optional parameter allowing you to define a connection to clear.

php artisan cache:clear redis-queue

This will clear the redis database redis-queue to quickly clear all queued jobs.

Subscribe To The Weekly Newsletter

Get weekly updates to your email