Closed mzaragoza closed 9 years ago
I would either use the beaneater API directly or use a tool like beanstalkd_view gem which provides a web-based management UI.
beanstalk = Beaneater::Pool.new(['localhost:11300'])
tube = beanstalk.tubes["some-tube"]
while tube.peek(:ready)
job = tube.reserve
job.delete
end
beanstalk.close
How can I remove all jobs from a campaign?