Strabon

view scripts/experiments/exp @ 1531:142b6555a010

[maven-release-plugin] prepare release v3.2.11-temporals
author Konstantina Bereta <Konstantina.Bereta@di.uoa.gr>
date Thu Sep 22 16:52:54 2016 +0300 (2016-09-22)
parents 6aa5f315664a
children
line source
1 #!/bin/bash
2 INITPATH="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
3 source $INITPATH/setenv
5 cd $LOG_PATH;
6 dirs=`ls -1d $DBNAME* | sort | tail -n 1`;
7 maxdir=${dirs/$DBNAME-/''};
8 maxdir=`echo $maxdir | sed 's/^0//'`;
9 dir=`printf "%02d" $((++maxdir))`;
11 if [ -z $dir ] ; then dir="01"; fi
13 mkdir $DBNAME-$dir;
15 STRABONEXP_PATH="$INITPATH/../../runtime/target/"
17 cd $STRABONEXP_PATH;
18 CPATH=$(JARS=(*.jar); IFS=:; echo "${JARS[*]}")
19 java -Xmx10G -cp $CPATH eu.earthobservatory.utils.ExperimentsReal $HOST $PORT $DBNAME $USERNAME $PASSWORD $LOG_PATH/$DBNAME-$dir 1> $LOG_PATH/$DBNAME-$dir/$DBNAME.out 2>$LOG_PATH/$DBNAME-$dir/$DBNAME.err
20 cd $INITPATH;