- Timestamp:
- 03/14/12 09:03:19 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/Transfer/BackupRawToWue.sh
r13055 r13093 44 44 esac 45 45 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 46 63 47 64 setstatus "stop"
Note:
See TracChangeset
for help on using the changeset viewer.