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/RsyncAuxLP.sh

    r13107 r13313  
    4242   if ! [ -d $auxdirdaq ]
    4343   then
    44       printprocesslog "WARN "$auxdirdaq" not found. Data were probably taken on data" >> $logfile 2>&1
    45       echo `date`": "$auxdirdaq" not found. Data were probably taken on data" >> $logfile 2>&1
     44      auxdirdata=/loc_data/aux/$date/
     45      if ! [ -d $auxdirdata ]
     46      then
     47         printprocesslog "INFO "$auxdirdaq" and "$auxdirdata" not found. " >> $logfile 2>&1
     48      else
     49         printprocesslog "WARN "$auxdirdaq" not found, but "$auxdirdata". Data were probably taken on data." >> $logfile 2>&1
     50      fi
     51      echo `date`": "$auxdirdaq" not found. " >> $logfile 2>&1
    4652      continue
    4753   fi
Note: See TracChangeset for help on using the changeset viewer.