All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ot.enos-subscribe.2.0.0.source-code.run-conn-test.sh Maven / Gradle / Ivy

There is a newer version: 3.0.3
Show newest version
#!/bin/sh

source /etc/profile



cd "$( dirname "${BASH_SOURCE[0]}" )"

PROCESS_AMOUNT="$1"
echo "process amount: ${PROCESS_AMOUNT}"

SUB_HOST="$2"
SUB_PORT="$3"
SUB_ACCESSKEY="$4"
SUB_SECRET="$5"
SUB_ID="$6"
SUB_CG="$7"

for i in `seq 1 ${PROCESS_AMOUNT}`
do
    sh run.sh subscription-client-1.1.2-SNAPSHOT.jar com.envisioniot.sub.client.demo.AlertServiceDemo ${SUB_HOST} ${SUB_PORT} ${SUB_ACCESSKEY} ${SUB_SECRET} ${SUB_ID} ${SUB_CG} 2>&1  &>>${i}
done





© 2015 - 2024 Weber Informatics LLC | Privacy Policy