I have a simple app that fetches an RSS feed and downloads some data. How can I get my ruby app to check the RSS feed every X minutes? should I just wrap all the code in a loop wi开发者_开发知识库th a sleep?
If you like the old unix stuff, you should use cron. A nice Ruby alternative is clockwork (which is way easier to configure).
You can use Cron if you work with Linux or Task Scheduler in case of Windows.
精彩评论