Skip to content

Instantly share code, notes, and snippets.

@shivdhwaj
Forked from derhansen/removeJobsRedisDriver.php
Created February 11, 2021 08:32
Show Gist options
  • Save shivdhwaj/8e9f15f9aeaf24de0420d90ca511a01f to your computer and use it in GitHub Desktop.
Save shivdhwaj/8e9f15f9aeaf24de0420d90ca511a01f to your computer and use it in GitHub Desktop.
Laravel 5 - remove all jobs from a queue (redis driver)
Redis::connection()->del('queues:myqueue');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment