Is there a way to set up simple task scheduling inside a rails application? There are code snippets that I want to run every hour, or every day or every week. I do not want to break them into separate scripts that I need to schedule through cron jobs. If I did this, then I would have to remember the backup scripts, and if I rebuild the server, I have to go and add all the cron jobs, it's just a little dirty for what I need.
I'm sorry that I can't just schedule tasks somewhere in my rails app and run them magically when I want! Any ideas?
Janak source
share