Changeset 17003 for trunk/DataCheck


Ignore:
Timestamp:
08/12/13 15:24:11 (11 years ago)
Author:
Daniela Dorner
Message:
added directory for temporary rsync files
File:
1 edited

Legend:

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

    r15591 r17003  
    77datepath=`date --date="-19HOUR" +%Y/%m/%d`
    88date=`date --date="-19HOUR" +%Y%m%d`
    9 #datepath="2013/04/17"
    10 #date="20130417"
     9#datepath="2013/07/13"
     10#date="20130713"
    1111printprocesslog "INFO processing "$datepath
    1212night=`echo $datepath | sed -e 's/\///g'`
     
    5353      #if ! rsync -av --stats $1 $2
    5454      #if ! rsync -av $1 $2
    55       if ! rsync -a $1 $2
     55      if ! rsync -a -T $rsynctempdir $1 $2
    5656      then
    5757         printprocesslog "WARN rsync of "$1" failed."
     
    139139      then
    140140         #if ! rsync -av --stats --progress --bwlimit=$bwlimit $file $localfile
    141          if ! rsync -a --bwlimit=$bwlimit $file $localfile
     141         if ! rsync -a -T $rsynctempdir --bwlimit=$bwlimit $file $localfile
    142142         then
    143143            printprocesslog "ERROR something went wrong with rsync of "$file
     
    161161            continue
    162162         fi
     163         #echo $runtype" "$runnum
    163164         if [ "$runtype" == "data" ]
    164165         then
     
    178179            echo "DrsSequence: "$drsseq >> $seqfile
    179180            echo "" >> $seqfile
     181#            echo $runrow" CalRuns"
     182#            echo $runrow | grep -E -o '[0-9]{3}light-pulser-ext300' | sed -e 's/light-pulser-ext300//g'
    180183            echo "CalRuns: "`echo $runrow | grep -E -o '[0-9]{3}light-pulser-ext300' | sed -e 's/light-pulser-ext300//g'` >> $seqfile
    181184            echo "PedRuns: "`echo $runrow | grep -E -o '[0-9]{3}pedestal300' | sed -e 's/pedestal300//g'` >> $seqfile
Note: See TracChangeset for help on using the changeset viewer.