JGroups runs tasks on all nodes or as singleton # config/torquebox.yml jobs: monthly_reminder: description: sends reminders job: MyJob cron: ‘0 0 0 1 * ?’ singleton: true # app/jobs/my_job.rb class MyJob def run() # your code here end end
Ruby 1.9 is “edge” “The TorqueBox Way”: Bundled stack is largely what you get If using advanced features (like messaging), you need to develop against TorqueBox, not ‘rails s’