I am not a very good ops person. bash -c 'while [ 0 ]; do heroku restart --app ***********; sleep 150; done'