123456789101112131415161718192021222324252627 |
- #!/bin/bash
- _evalBg() {
- eval "$@" &>/dev/null &disown;
- }
- short_all="./test_med.sh"
- short_re="./test_re_med.sh"
- for i in {1..3}
- do
- echo "Starting short recycle iteration ${i}";
- _evalBg "${short_all}";
- _evalBg "${short_re}";
- sleep 120s
- done
- for i in {1..20}
- do
- echo "Starting all_big iteration and one recycling ${i}"
- /bin/bash ./test_all_big.sh
- /bin/bash ./test_re_big.sh
- echo "Waiting 15 Minutes"
- sleep 900s
- done
- echo "All done"
|