title: Running code repeatedly in Ruby on Rails with Heroku for an indefinite period
body: <p>I am attempting to build a web application with Ruby on Rails that users site up for and get an email alert when a certain event happens. </p>
  
  <p>As such, I need to be able to make an API call and then based on the JSON response, send the alert, but I need a way to have this API call happen repeatedly for an indefinite amount of time automatically. I am also using Heroku at this time if that needs to be taken into account.</p>
  
  <p>Thanks for your help.</p>