How to execute stand alone ruby file on passenger server.
I have already looked on below link:
I am not expecting any configuration on file side(application).
If any thing need on passenger side, it would be fine for me, but extra configuration should not break my existing working flow (for ruby on rails/sinatra
etc.).
You should have a look at something like Sidekiq or Clockwork
https://github.com/tomykaira/clockwork
https://www.ruby-toolbox.com/categories/scheduling
https://www.ruby-toolbox.com/categories/Background_Jobs
Hope this helps
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.