How to run Sinatra job in background?
You can have another thread running, see for example:
http://mark-watson.blogspot.com/2011/11/ruby-sinatra-web-apps-with-background.html
You can have another thread running, see for example:
http://mark-watson.blogspot.com/2011/11/ruby-sinatra-web-apps-with-background.html