Background Jobs in Rails — Delayed_job
Rails has lots of options for background jobs, the list below is a collection of link that help my choose Delayed Jobs which is a simple and capable enough one.
- Blog post which is a good summary of alternatives — (kind of a survey)
- A related question on StackOverflow
- Blog post about Delayed Job link
- Heroku suggests Delayed Job, so this is the one I am looking for
- and finally this is the Heroku guide for using Delayed Job
- Railcast about Delyaed_job
- Tip&Tricks
If you are interested, we are using Delayed Job for creating our heatmaps for remotespots usability testing site. Heatmap project will probably work as a separate project so that others can also use it for creating heatmaps on top of their images. Stay tuned for the heatmap side project!
Steps for Delayed_job
- Install the plugin from github (from collectiveideas) with
script/plugin install git://github.com/collectiveidea/delayed_job.git
script/generate delayed_job
rake db:migrate
send_later(:your_method_name, -3, 3.days.from_now)
No comments yet





