TurtleBytes
Home
Delete Queue Laravel
Delete Queue Laravel
Dec, 23 2015
Tags: beanstalkd,laravel queues,laravel job

Delete Queue Laravel


Command for deleting a specific job from beanstalk for laravel 4 or laravel 5.

$res = Queue::getPheanstalk();$job = $res->peek(29); //29 is the job id i want to delete$res->delete($job);