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 with a sleep?
Asked
Active
Viewed 289 times
2 Answers
0
You can use Cron if you work with Linux or Task Scheduler in case of Windows.

ceth
- 44,198
- 62
- 180
- 289
-
1Also there's "whenever" gem, nice Ruby DSL for setting cron tasks: https://github.com/javan/whenever – Lukas Stejskal May 18 '11 at 08:19