Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/bash
- # usage: ./cmd_boinc <computer(s)> <arguments>
- #
- # example: ./cmd_boinc all --project <url> update
- # update all projects: send unsent data
- # example: ./cmd_boinc computername1 --get_tasks
- # shows the tasks from computer "computername1"
- # example: ./cmd_boinc all --get_tasks | grep "fraction done: 0.*[^0]" | sort | head -n <cores>
- # shows the percent-done of all tasks that have non-zero percents, fill in <cores> to the known number of cores doing work
- args=`echo $@ | sed -e "s/$1 //"`
- # see mass_cmd.sh: first '.' is CURRENT DIRECTORY from run location; second '.' is $COMP_PATH in mass_cmd.sh (the location the binaries and data are)
- ./mass_cmd.sh $1 "./boinccmd $args"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement