Ignore:
Timestamp:
03/14/12 09:03:19 (13 years ago)
Author:
Daniela Dorner
Message:
added drs file to transfer
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/Transfer/BackupRawToWue.sh

    r13055 r13093  
    4444   esac
    4545   
     46   query="SELECT fHasDrsFile from RunInfo WHERE fNight="$night" AND fRunID="$runid
     47   numdrs=`sendquery`
     48   if [ $numdrs -gt 0 ]
     49   then
     50      drsfileisdc=$rawdirisdc$nightpath"/"$night"_"`printf %03d $runid`".drs.fits.gz"
     51      printprocesslog "INFO rsync rawfile "$drsfileisdc" to Wue "$rawdirwue
     52      rsync -avxR --no-p --stats $rawfileisdc operator@coma.astro.uni-wuerzburg.de:$rawdirwue >> $logfile 2>&1
     53      check1=$?
     54
     55      case $check1 in
     56         0)   printprocesslog "INFO rawfile "$drsfileisdc" transferred successfully to Wue."
     57              ;;
     58         *)   printprocesslog "WARN "$drsfileisdc" could not be transferred to Wue."
     59              check=$check1
     60              ;;
     61      esac
     62   fi
    4663
    4764   setstatus "stop"
Note: See TracChangeset for help on using the changeset viewer.