I have a ruby on rails app in which I\'m trying to find a way to run some code every few seconds.
I\'ve found lots of info and ideas using cron, or cron-like implementat
I'd suggest the whenever gem https://github.com/javan/whenever
It allows you to specify a schedule like:
every 15.minutes do MyClass.do_stuff end
There's no scheduling cron jobs or monkeying with external services.