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.

Upgrade to access all content on Paulund

Members unlock all tutorials and snippets

Access to all downloadable content

Access to code examples before others

Sign Up Now

Already a member? Login here

Subscribe To The Weekly Newsletter

Get weekly updates to your email