0

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?

Fatal510
  • 1,673
  • 3
  • 16
  • 21

2 Answers2

2

If you like the old unix stuff, you should use cron. A nice Ruby alternative is clockwork (which is way easier to configure).

J-_-L
  • 9,079
  • 2
  • 40
  • 37
0

You can use Cron if you work with Linux or Task Scheduler in case of Windows.

ceth
  • 44,198
  • 62
  • 180
  • 289