Using a Sinatra Ruby web server, I’m having trouble figuring out how I can get certain fields in my postgres server to update every X amount of time.
Anyone have any suggestions for a way to change data every X number of minutes while still handling normal http requests.
Use the Heroku Scheduler addon? It allows you to schedule a rake task every 10 minutes.
https://devcenter.heroku.com/articles/scheduler