Hobo Cookbook

View Source

Question: Asynchronous Job Handling

Asks JezChatfield
I have some long running and repetitive tasks that should be executed without forcing the user to be either logged in, or waiting for termination. Think of processing large data sets, or downloading third party reports.

Discussion

  • I generally run a rake task in a cron job, but here are some more options

    http://www.tobinharris.com/past/2009/3/9/6-ways-to-run-background-jobs-in-rubyonrails/
  • P.S. The mailing list has a higher readership than the cookbook, so you generally get a quicker response there.