scheduled tasks on rails

Check out this great Rake tutorial: http://www.railsenvy.com/2007/6/11/ruby-on-rails-rake-tutorial