Skip to content

Instantly share code, notes, and snippets.

@archit
Created November 20, 2013 18:36
Show Gist options
  • Save archit/7568535 to your computer and use it in GitHub Desktop.
Save archit/7568535 to your computer and use it in GitHub Desktop.
Kill all heroku dynos for a an app.
heroku ps -a$1 | awk '/===/ {print $2}' | xargs -L1 -I % heroku ps:scale %=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment