Skip to content

Instantly share code, notes, and snippets.

@davaymne
Created December 13, 2020 18:59
Show Gist options
  • Save davaymne/314754a3988fe130f03c4b37d97a0fe0 to your computer and use it in GitHub Desktop.
Save davaymne/314754a3988fe130f03c4b37d97a0fe0 to your computer and use it in GitHub Desktop.
#!/bin/bash
for id in $(cat $1);
do
echo "Allocate $id, Amount $2"
graph indexer rules set $id allocationAmount $2 parallelAllocations 1 decisionBasis always
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment