Cronjob for controller/action

Thats what you want:

http://wiki.rubyonrails.com/rails/pages/RunnerScript