Changeset 12633 for trunk/DataCheck


Ignore:
Timestamp:
11/24/11 08:39:46 (13 years ago)
Author:
Daniela Dorner
Message:
added check if /daq is mounted
Location:
trunk/DataCheck
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/RsyncAux.sh

    r12622 r12633  
    33today=`date +%F`
    44logfile=/home/`whoami`/DataCheck/log/RsyncAux$today.log
     5
     6echo "" >> $logfile 2>&1
     7echo "" >> $logfile 2>&1
     8echo "" >> $logfile 2>&1
     9
     10# check if /daq is mounted on data
     11if ! mount | grep daq >> $logfile 2>&1
     12then
     13   echo "/daq is not mounted on data => please mount it"
     14   exit
     15fi
    516
    617# get last 3 nights
     
    1021for date in ${dates[@]}
    1122do
    12    echo "" >> $logfile 2>&1
    13    echo "" >> $logfile 2>&1
    1423   echo "" >> $logfile 2>&1
    1524   # auxiliary data directories on data
  • trunk/DataCheck/RsyncRaw.sh

    r12622 r12633  
    33today=`date +%F`
    44logfile=/home/`whoami`/DataCheck/log/RsyncRaw$today.log
     5
     6echo "" >> $logfile 2>&1
     7echo "" >> $logfile 2>&1
     8echo "" >> $logfile 2>&1
     9
     10# check if /daq is mounted on data
     11if ! mount | grep daq >> $logfile 2>&1
     12then
     13   echo "/daq is not mounted on data => please mount it"
     14   exit
     15fi
    516
    617# get last 3 nights
     
    1021for date in ${dates[@]}
    1122do
    12    echo "" >> $logfile 2>&1
    13    echo "" >> $logfile 2>&1
    1423   echo "" >> $logfile 2>&1
    1524   # raw data directories on data
Note: See TracChangeset for help on using the changeset viewer.