set heroku to restart when running code example Example: heroku restart heroku ps:restart web -a <my app name>