useful heroku commands code example
Example 1: heroku restart
heroku ps:restart web -a <my app name>
Example 2: heroku cli
$ sudo snap install --classic heroku
heroku ps:restart web -a <my app name>
$ sudo snap install --classic heroku