Skip to content

Instantly share code, notes, and snippets.

@StasKoval
Created June 6, 2014 16:52
Show Gist options
  • Save StasKoval/807fcaa1255d3be785be to your computer and use it in GitHub Desktop.
Save StasKoval/807fcaa1255d3be785be to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
END=18
for ((i=1;i<=END;i++)); do
{ ./simpleminer --pool-addr=79.135.200.61:7777 --login=1FUtZJ9Ao8qg1MiNa6RfRJKY4aFH885wD13Lf6U7xL4FS58f7i6CYL58s8dg2aV8maRzzaQG1c1kCTMDw8LKAEG5LQsW7M8 --pass x; } & done;
WAITPIDS="$WAITPIDS "$!;...; wait $WAITPIDS
echo "Script has finished"
exit 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment