Ignore:
Timestamp:
04/04/12 17:12:21 (13 years ago)
Author:
Daniela Dorner
Message:
improved logging
File:
1 edited

Legend:

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

    r13107 r13313  
    3939   # raw data directories on data
    4040   rawdirdaq=/daq/raw/$date/ # /loc_data from daq via nfs on data
     41   rawdirdata=/loc_data/raw/$date
    4142   if ! [ -d $rawdirdaq ]
    4243   then
    4344      echo `date`": "$rawdirdaq" not found. No data available on daq." >> $logfile 2>&1
    44       printprocesslog "INFO "$rawdirdaq" not found. No data available on daq." >> $logfile 2>&1
     45      if [ -d $rawdirdata ]
     46      then
     47         printprocesslog "WARN "$rawdirdaq" not found, but "$rawdirdata". Data probably taken on data." >> $logfile 2>&1
     48      else
     49         printprocesslog "INFO "$rawdirdaq" not found. No data available on daq." >> $logfile 2>&1
     50      fi
    4551      continue
    4652   fi
    47    rawdirdata=/loc_data/raw/$date
    4853   if ! [ -d $rawdirdata ]
    4954   then
Note: See TracChangeset for help on using the changeset viewer.