Ignore:
Timestamp:
07/31/08 14:15:56 (16 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/scripts/checkstardone

    r9054 r9061  
    5959   printprocesslog "INFO checking star done for sequences of dataset $dataset"
    6060
    61    no=`printf %08d $dataset | cut -c 0-5`
    62    no2=`printf %08d $dataset`
    63    dsnum=`printf %08d $dataset`
    64 
    65    echo "run $program for sequence $sequence..." >> $scriptlog 2>&1
    66 
    67    outpath=$logpath/$program/$no/$no2
     61   outpath=$logpath/$program/`printf %08d $dataset | cut -c 0-5`
    6862   makedir $outpath  >> $scriptlog 2>&1
    6963
    7064   setstatus "start" >> $scriptlog 2>&1
    7165
    72    check1=`root -q -b $macrospath/checkstardone.C+\(\""$dsnum\""\) | tee $outpath/checkstardone-$dsnum.log | intgrep`
     66   check1=`root -q -b $macrospath/checkstardone.C+\($dataset\) | tee $outpath/checkstardone-$dataset.log | intgrep`
    7367
    7468   case $check1 in
    7569      1)   echo " check1=$check1 -> everything ok -> continue with next dataset..." >> $scriptlog 2>&1 ;;
    76       2)   echo " check1=$check1 -> star files for dataset $dsnum not yet available -> continue..." >> $scriptlog 2>&1
    77            printprocesslog "INFO files not yet available for dataset $dsnum"
     70      2)   echo " check1=$check1 -> star files for dataset $dataset not yet available -> continue..." >> $scriptlog 2>&1
     71           printprocesslog "INFO files not yet available for dataset $dataset"
    7872           check="no"
    79            break
    8073           ;;
    8174      0)   echo " check1=$check1 -> no connection to db -> continue..." >> $scriptlog 2>&1
    8275           printprocesslog "WARN connection to DB failed"
    8376           check="no"
    84            break
    8577           ;;
    8678      *)   echo " check1=$check1 -> ERROR " >> $scriptlog 2>&1
     
    8880           com=$Fstardone
    8981           check=$check1
    90            break
    9182           ;;
    9283   esac
Note: See TracChangeset for help on using the changeset viewer.