Last active
March 26, 2018 18:28
-
-
Save georgeliaw/cecfa9b476115e7bea19b00336e9ab99 to your computer and use it in GitHub Desktop.
yarn list running job application IDs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| for i in $(yarn application -list | grep application_ | awk '{print $1}'); do echo $i; done | |
| # kill all by swapping echo to `yarn application -kill $i` | |
| # for i in $(yarn application -list | grep application_ | awk '{print $1}'); do yarn application -kill $i; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment