Changeset 18433
- Timestamp:
- 02/13/16 17:42:50 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/Transfer/RsyncRawToISDC.sh
r17890 r18433 13 13 date >> $logfile 2>&1 14 14 15 ## check if script is already running 16 #lockfile=$lockpath/lock-$program.txt 17 #checklock 15 16 # check if only a certain date should be processed 17 # (feature for manual speedup) 18 if [ "$certaindate" != "" ] 19 then 20 printprocesslog "INFO process only data of "$certaindate 21 echo "INFO process only data of "$certaindate 22 specialnight=`echo $certaindate | sed -e 's/\///g'` 23 fi 24 18 25 19 26 # stop transfer when less than 100 GB are left … … 44 51 lppath="/loc_data/zipraw/"$nightpath 45 52 nightrun=$night"_"`printf %03d $runid` 53 54 # continue if only special night should be processed for manual speedup 55 if [ "$specialnight" != "" ] 56 then 57 if [ $night -ne $specialnight ] 58 then 59 printprocesslog "INFO Treat only "$specialnight" -> continue for "$night 60 echo "INFO Treat only "$specialnight" -> continue for "$night 61 continue 62 else 63 echo "INFO Transfer "$nightrun 64 fi 65 fi 66 46 67 lpfile=`ssh fact@161.72.93.131 "find $lppath -type f -regex '.*$nightrun[.]fits[.][fg]z'"` 47 68 if [ "$lpfile" == "" ]
Note:
See TracChangeset
for help on using the changeset viewer.