Rails + batch jobs

Hi Daan,
  If your trying to run a job that will need to be run from time to
time manually, then you should write a rake task and put it in your
lib/tasks/ directory. If your trying to run something automated then
you need to look at BackgroundRB [1] or RailsCron[2]. Note that
RailsCron is no longer supported, but I still like it better than
BackgroundRB.

Good Luck,
Rob Kaufman

[1] http://backgroundrb.rubyforge.org/
[2] http://svn.kylemaxwell.com/not_supported/rails_cron/trunk/README