Skip to content

Instantly share code, notes, and snippets.

@blasterpal
Created October 17, 2012 15:23
Show Gist options
  • Select an option

  • Save blasterpal/3906122 to your computer and use it in GitHub Desktop.

Select an option

Save blasterpal/3906122 to your computer and use it in GitHub Desktop.
Run something on all EY servers
CMD="ps -ef | grep resque | grep -v grep"
for R_E in production staging demo
do
echo "${R_E}"
ey ssh "${CMD}" -e ${R_E} --utilities=utility
echo "${R_E}"
echo "-------------------------------"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment