Changeset 12557 for trunk


Ignore:
Timestamp:
11/18/11 20:36:54 (13 years ago)
Author:
Daniela Dorner
Message:
changed such that only last night is rsynced
Location:
trunk/DataCheck
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/RsyncAux.sh

    r12546 r12557  
    11#!/bin/bash
    22
    3 year=`date +%Y --date="-1day"`
    4 month=`date +%m --date="-1day"`
    5 
    6 auxdir=loc_data/aux/$year/$month
    7 echo `date`": processing files in "$auxdir
     3date=`date +%Y/%m/%d --date="-1day"`
    84
    95today=`date +%F`
    106logfile=/home/`whoami`/DataCheck/log/RsyncAux$today.log
     7
     8auxdir=loc_data/aux/$date
     9echo `date`": processing files in "$auxdir >> $logfile 2>&1
    1110
    1211#rsync from daq to data
  • trunk/DataCheck/RsyncRaw.sh

    r12546 r12557  
    11#!/bin/bash
    22
    3 year=`date +%Y --date="-1day"`
    4 month=`date +%m --date="-1day"`
    5 
    6 rawdir=loc_data/raw/$year/$month
    7 echo `date`": processing files in "$rawdir
     3date=`date +%Y/%m/%d --date="-1day"`
    84
    95today=`date +%F`
    106logfile=/home/`whoami`/DataCheck/log/RsyncRaw$today.log
     7
     8rawdir=loc_data/raw/$date
     9echo `date`": processing files in "$rawdir >> $logfile 2>&1
    1110
    1211#rsync from daq to data
Note: See TracChangeset for help on using the changeset viewer.