I am writing a rails script that I need to run continuosly. It
basiclly scans the a particular table in my DB and makes queries to an
outside service and updates the table as needed. I would like to keep
the script constatnly running run. If I write the script as a runner,
is there a way to do this?
I can think of a few ways to write a script with a continous loop.
Just wondering though if there is a straight forward way to do it.
The one way I can think of is to have a integer that is the index of
the record in the DB and then just reset it when it hits the number of
records in the DB.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.