Skip to content

Commit

Permalink
update grid5000.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
simonAllier committed Sep 10, 2013
1 parent 8edd224 commit 2aa7ad9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 4 additions & 1 deletion grid5000.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@
cd /root/diversify-statements
git pull
mvn clean package
sh runFromGit.sh 100 repo
java -jar target/Diversify-statements-1.0-SNAPSHOT-jar-with-dependencies.jar git $2

sh runFromGit.sh 100 &
sh runFromGit.sh 100 &
2 changes: 0 additions & 2 deletions runFromGit.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
#!/bin/sh

java -jar target/Diversify-statements-1.0-SNAPSHOT-jar-with-dependencies.jar git $2

for i in `seq 1 $1`
do
java -Xmx2000m -XX:MaxPermSize=256m -jar target/Diversify-statements-1.0-SNAPSHOT-jar-with-dependencies.jar $(cat propertiesFile) &
java -Xmx2000m -XX:MaxPermSize=256m -jar target/Diversify-statements-1.0-SNAPSHOT-jar-with-dependencies.jar $(cat propertiesFile)
done

0 comments on commit 2aa7ad9

Please sign in to comment.