Ruby Weekly is a weekly newsletter covering the latest Ruby and Rails news.

Rails Cron: A way to run background tasks with your Rails app

By Peter Cooper / June 8, 2006


RailsCron, by Kyle Maxwell, ‘is a way to run background tasks using your Ruby on Rails environment.’ You could arguably do what ever you want to do in the background via running a crontab that executes the script/runner, but RailsCron enables you to do it all from ruby code, and seeing as it is an ActiveRecord object, you can manipulate it as such from your application.

Rails Cron isn't the be-all and end-all of background task automation, but it can provide a useful crutch to lean on in some situations. If you need to send regular mails to users, etc, give it a look.


  1. Pingback: Hello, world!

Other Posts to Enjoy

Twitter Mentions