Search code examples
phplaravelbeanstalkd

Deleting queued jobs in laravel


I have added some jobs to a queue in Laravel. However, I forgot to put $job->delete() in the function and there is an error in my function. This means the job is never ending. It keeps going being replaced onto the queue and keeps erroring in my log file. How can I delete it from the command line?

I am using beanstalkd for my queuing.


Solution

  • Restart Beanstalk. On Ubuntu:

    sudo service beanstalkd restart