12345678910111213141516171819202122232425262728 |
- #!/bin/bash
- _evalBg() {
- eval "$@" &>/dev/null &disown;
- }
- short_all="./pp_mysql_short.sh"
- short_re="./pp_mysql_short_recycle.sh"
- for i in {1..3}
- do
- echo "Starting short recycle iteration ${i}";
- _evalBg "${short_all}";
- _evalBg "${short_re}";
- echo "Waiting 3 Minutes"
- sleep 180s
- done
- for i in {1..30}
- do
- echo "Starting all_big iteration and one recycling ${i}"
- /bin/bash ./pp_all_big.sh
- /bin/bash ./pp_re_big.sh
- echo "Waiting 10 Minutes"
- sleep 600s
- done
- echo "All done"
|