I have a script which in need to run on my data. I have made a rake task for that. If i start the rake task by using heroku run rake my_task:my_action and after a while my internet disconnects. What would happen. Will the task continue to run as it has been initiated on a remote machine. I think it will continue to run. Any ideas.
I have a script which in need to run on my data. I have
Share
Processes started in a one-off dyno (the kind of dyno that is provisioned with
heroku run command) run attached to your local terminal and will terminate if your internet disconnects or you cancel the command locally.To execute a process in a one-off dyno that is not attached to your local terminal, use
heroku run:detached:To introspect whether the one-off dyno is still running use
heroku ps. One-off dynos are namedrun.XwhereXis some number.