-
-
Save zyfnhct/ee1b7c1f41afd93cc7d8cdce917961a0 to your computer and use it in GitHub Desktop.
batch mode to kill yarn applications
This file contains 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 | |
yarn application -list | awk '{print $1}' | while read line;do | |
echo $line | |
yarn application -kill $line | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment