Last change
on this file since 12558 was 12557, checked in by Daniela Dorner, 14 years ago |
changed such that only last night is rsynced
|
-
Property svn:executable
set to
*
|
File size:
386 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | date=`date +%Y/%m/%d --date="-1day"`
|
---|
4 |
|
---|
5 | today=`date +%F`
|
---|
6 | logfile=/home/`whoami`/DataCheck/log/RsyncAux$today.log
|
---|
7 |
|
---|
8 | auxdir=loc_data/aux/$date
|
---|
9 | echo `date`": processing files in "$auxdir >> $logfile 2>&1
|
---|
10 |
|
---|
11 | #rsync from daq to data
|
---|
12 | if ! /usr/bin/rsync -avxH 10.0.100.12::$auxdir /$auxdir >> $logfile 2>&1
|
---|
13 | then
|
---|
14 | echo `date`": problem rsyncing auxiliary data from daq to data"
|
---|
15 | fi
|
---|
16 |
|
---|
17 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.