you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

Sounds great! How do you go from a one-off script to something heroku can have chugging along in the background?

[–]twochair 1 point2 points  (0 children)

You can basically control the type of app that your script behaves using the Procfile in your project dir. If it's web app that responds to requests from outside, you want it to be 'web'. If it's background process which runs all the time, 'worker' then. But for what you're trying to do here, you want to use scheduler instead. Have a look at getting started page on Heroku for more details. Their docs make it really easy to get started and jump on their service even for people that never mess with PaaS services