Automate a rake task to run on boot on heroku?
问题 Suppose there's a task rake startupscript that should run whenever the app boots, how can we automate that on heroku? I know there's a heroku scheduler but that will run the task every 10 minutes instead of just once at boot. I also know of the Procfile and believe this can be a solution, although I do not yet know how to implement (and probably more importantly, I don't want to risk breaking anything else that can be configured via a Procfile, e.g. webserver etc). A lot of the Procfile docs