diff --git a/convertPixie.sh b/convertPixie.sh index b4cd768..6291802 100755 --- a/convertPixie.sh +++ b/convertPixie.sh @@ -9,6 +9,8 @@ fi runNum=$1 +ls -lh rawdata/run${runNum}/run*evt + nFile=$(ls -1 rawdata/run${runNum}/run*evt | wc -l) files=$(ls -1 rawdata/run${runNum}/run*evt) @@ -54,6 +56,7 @@ while [[ $i -lt ${nLoop} ]]; do ((j += 1)) done + sleep 1 while true; do nthings=`ps aux | grep "[n]scl2pixie_haha"| wc -l` echo $(date)" || "$nthings" nscl2pixie_haha are running."