pp_complete_run.sh 507 B

12345678910111213141516171819202122232425262728
  1. #!/bin/bash
  2. _evalBg() {
  3. eval "$@" &>/dev/null &disown;
  4. }
  5. short_all="./pp_mysql_short.sh"
  6. short_re="./pp_mysql_short_recycle.sh"
  7. for i in {1..3}
  8. do
  9. echo "Starting short recycle iteration ${i}";
  10. _evalBg "${short_all}";
  11. _evalBg "${short_re}";
  12. echo "Waiting 3 Minutes"
  13. sleep 180s
  14. done
  15. for i in {1..30}
  16. do
  17. echo "Starting all_big iteration and one recycling ${i}"
  18. /bin/bash ./pp_all_big.sh
  19. /bin/bash ./pp_re_big.sh
  20. echo "Waiting 10 Minutes"
  21. sleep 600s
  22. done
  23. echo "All done"