Setup TMP_DIR for par.sh
authorDennis Schafroth <dennis@indexdata.com>
Tue, 29 May 2012 09:59:44 +0000 (11:59 +0200)
committerDennis Schafroth <dennis@indexdata.com>
Tue, 29 May 2012 09:59:44 +0000 (11:59 +0200)
perf/bash/par_forever.sh [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 8f9de2f..96503a2
@@ -1,3 +1,6 @@
 while true; do 
-      sh par.sh par.config.dennis 
+    export TMP_DIR=run_`date +"%Y%m%d_%H%M%S"`/
+    mkdir -p ${TMP_DIR}
+    sh par.sh par.config.dennis 
+    sleep 60
 done
\ No newline at end of file