BackgrounDRb
From WhyNotWiki
| Homepage: | http://backgroundrb.rubyforge.org/ |
|---|---|
| Source code: | svn://rubyforge.org//var/svn/backgroundrb |
| Project/Development: | http://rubyforge.org/projects/backgroundrb/
|
| Description: | BackgrounDRb is a small framework that facilitates running background tasks in a separate process from Rails, thereby decoupling them from the request/response cycle. With DRb you can manage your tasks from Rails using hooks for progress bars or status updates to your users.
|
http://rubyforge.org/pipermail/backgroundrb-devel/2006-September/000350.html [Backgroundrb-devel] Could a BackgrounDrb worker do this?
http://backgroundrb.rubyforge.org/
BackgrounDRb is a ruby job server and scheduler. Its main intent is to be used with Ruby on Rails applications for offloading long-running tasks. Since a rails application blocks while servicing a request it is best to move long running tasks off into a background process that is divorced from the http request/response cycle.
BackgrounDRb tag on Ezra's blog
[edit]
http://www.infoq.com/articles/BackgrounDRb
...
[edit] scheduling via a yaml config file
Scheduling tasks in Ruby / Rails - igvita.com (http://www.igvita.com/blog/2007/03/29/scheduling-tasks-in-ruby-rails/) (2007-03-29).
scheduled_task: :class: :scheduled_task_worker :worker_method: :do_work :trigger_args: :start: <%= Time.now + 10.minutes %> :repeat_interval: <%= 1.hour %>
