I'm really new to Heroku, but I have a problem. I have created a Clockwork script called "clock.rb" in rails and I use:
bundle exec clockwork clock.rb
to run it in the background on my local server, but How I can run that on Heroku server? (I would like the cheapest solution)
Thanks!!!
To your
Procfileuse like thisit will start the server every time after Heroku push/web server restart.
Or you can run using
consolefrom your computer like this but in this case, you need to run every time after web server restartingand from Heroku open
consoleand type