how to change dyno command line in heroku code example
Example 1: heroku scale dynos
# One web dyno running
heroku ps:scale web=1
# One web dyno + one worker dyno
# A worker dyno is a dyno that does process types that isn't a web in your procfile
heroku ps:scale web=1 worker=1
# Two web dyno + one worker dyno
heroku ps:scale web=2 worker=1
# If you want different dyno types (standard-2x etc) do this:
heorku ps:scale web=2:standard-2x
# If you want no dynos running, just scale it to zero:
heroku ps:scale web=0 worker=0
Example 2: kill dyno process heroku
$ heroku ps:stop run.1
Stopping run.1 process... done