How do you tell a specific Delayed::Job to run in console?

Viewed 41746

For some reason, Delayed::Job's has decided to queue up but not excecute anything even though I've restarted it several times, even kill -9'd it and restarted it. It won't run any jobs.

Can I , in /console, specify a specific job and tell it to work?

Ex:.. Delayed::Job.find(x).run

3 Answers

You can also do it like this:

Delayed::Worker.new.run( Delayed::Job.find(x) ) 
Related