Changeset 18684


Ignore:
Timestamp:
12/18/16 20:49:49 (8 years ago)
Author:
Daniela Dorner
Message:
improved logging
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/QuickLook/Step2a.sh

    r18666 r18684  
    33source `dirname $0`/../Sourcefile.sh
    44printprocesslog "INFO starting $0"
    5 
    6 echo $certaindate
    75
    86# get dates
     
    2220fi
    2321
    24 echo ${dates[@]}
    2522
    2623
     
    2825do
    2926   printprocesslog "INFO processing "$date
    30    echo "INFO processing "$date
     27   if [ "$certaindate" != "" ]
     28   then
     29      echo "INFO processing "$date
     30   fi
    3131   night=`echo $date | sed -e 's/\///g'`
    3232   
     
    4646      run=`basename $file | cut -d_ -f2`
    4747      printprocesslog "INFO processing run "$run
     48      #echo "INFO processing run "$run
    4849      # process only if merpp-log is available to make sure that star-file is complete
    4950      # at ISDC seq# != run# -> get seq#
     
    7172         then
    7273            printprocesslog "$sgepath/qsub -b y -q fact_short -v AUTOMATIONSETUP=$AUTOMATIONSETUP -v starfile=$file -e bla.txt -o bla.txt `dirname $0`/RunGanymed.sh"
    73             $sgepath/qsub -b y -q fact_short -v AUTOMATIONSETUP=$AUTOMATIONSETUP -v starfile=$file -e bla.txt -o bla.txt `dirname $0`/RunGanymed.sh
     74            $sgepath/qsub -b y -q fact_short -v AUTOMATIONSETUP=$AUTOMATIONSETUP -v starfile=$file -e bla.txt -o bla.txt `dirname $0`/RunGanymed.sh | grep -v 'has been submitted'
    7475         else
    7576            printprocesslog " INFO `dirname $0`/RunGanymed.sh $file"
    7677            `dirname $0`/RunGanymed.sh $file
    77             echo "ganymed for "$file
     78           if [ "$certaindate" != "" ]
     79           then
     80               echo "ganymed for "$file
     81           fi
    7882         fi
    7983         numganymeds=`echo " $numganymeds + 1 " | bc -l`
Note: See TracChangeset for help on using the changeset viewer.