move scripts to command/
[utp-swift.git] / command / campaign_run
1 #!/bin/bash
2
3 while true; do
4         ./remote_start_swift_session 141.85.224.201 141.85.224.204 &
5         r1_pid=$!
6         ./remote_start_utp_session 141.85.224.205 141.85.224.206 &
7         r2_pid=$!
8         ./remote_start_swift_session 141.85.224.207 141.85.224.208 &
9         r3_pid=$!
10         ./remote_start_utp_session 141.85.224.209 141.85.224.210 &
11         r4_pid=$!
12
13         wait $r1_pid $r2_pid $r3_pid $r4_pid
14
15         # wait a bit
16         sleep 20
17 done