From 4c15b14f0de704073088a1e8b0749eefdfd6aa0f Mon Sep 17 00:00:00 2001 From: Razvan Deaconescu Date: Sun, 21 Nov 2010 23:12:54 +0200 Subject: [PATCH] remove 03 from config file; oops occured add campaig_run super script --- all_base_rsync | 2 +- campaign_run | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 campaign_run diff --git a/all_base_rsync b/all_base_rsync index 885e044..3c9a6fa 100755 --- a/all_base_rsync +++ b/all_base_rsync @@ -1,6 +1,6 @@ #!/bin/bash -ip_array=(141.85.224.201 141.85.224.203 141.85.224.204 141.85.224.205 141.85.224.206 141.85.224.207 141.85.224.208 141.85.224.209 141.85.224.210) +ip_array=(141.85.224.201 141.85.224.204 141.85.224.205 141.85.224.206 141.85.224.207 141.85.224.208 141.85.224.209 141.85.224.210) for ip in ${ip_array[@]}; do ./ct_rsync $ip 22 diff --git a/campaign_run b/campaign_run new file mode 100644 index 0000000..d29bf2e --- /dev/null +++ b/campaign_run @@ -0,0 +1,14 @@ +#!/bin/bash + +while true; do + ./remote_start_swift_session 141.85.224.201 141.85.224.204 & + r1_pid=$! + ./remote_start_utp_session 141.85.224.205 141.85.224.206 & + r2_pid=$! + ./remote_start_swift_session 141.85.224.207 141.85.224.208 & + r3_pid=$! + ./remote_start_utp_session 141.85.224.209 141.85.224.210 & + r4_pid=$! + + wait $r1_pid $r2_pid $r3_pid $r4_pid +done -- 2.20.1