1 | #!/bin/sh
|
---|
2 | #
|
---|
3 | # ========================================================================
|
---|
4 | #
|
---|
5 | # *
|
---|
6 | # * This file is part of MARS, the MAGIC Analysis and Reconstruction
|
---|
7 | # * Software. It is distributed to you in the hope that it can be a useful
|
---|
8 | # * and timesaving tool in analysing Data of imaging Cerenkov telescopes.
|
---|
9 | # * It is distributed WITHOUT ANY WARRANTY.
|
---|
10 | # *
|
---|
11 | # * Permission to use, copy, modify and distribute this software and its
|
---|
12 | # * documentation for any purpose is hereby granted without fee,
|
---|
13 | # * provided that the above copyright notice appear in all copies and
|
---|
14 | # * that both that copyright notice and this permission notice appear
|
---|
15 | # * in supporting documentation. It is provided "as is" without express
|
---|
16 | # * or implied warranty.
|
---|
17 | # *
|
---|
18 | #
|
---|
19 | #
|
---|
20 | # Author(s): Daniela Dorner 08/2006 <mailto:dorner@astro.uni-wuerzburg.de>
|
---|
21 | #
|
---|
22 | # Copyright: MAGIC Software Development, 2000-2007
|
---|
23 | #
|
---|
24 | #
|
---|
25 | # ========================================================================
|
---|
26 | #
|
---|
27 | #
|
---|
28 |
|
---|
29 |
|
---|
30 | source `dirname $0`/sourcefile
|
---|
31 | printprocesslog "INFO starting $0"
|
---|
32 |
|
---|
33 | scriptlog=$runlogpath/webupdate-callisto-$datetime.log
|
---|
34 | date >> $scriptlog 2>&1
|
---|
35 |
|
---|
36 | echo "do plots for all root-files (callisto) ..." >> $scriptlog 2>&1
|
---|
37 | $scriptspath/dowebplots -p callisto
|
---|
38 |
|
---|
39 | echo "do rsync for callisto files" >> $scriptlog 2>&1
|
---|
40 | rsync -av --delete --exclude=*/*/*_E[.]root --exclude=*/*/callisto.rc $datapath/callisto/ $webpath/callisto >> $scriptlog 2>&1
|
---|
41 |
|
---|
42 | echo "do rsync for subsystem files" >> $scriptlog 2>&1
|
---|
43 | rsync -av --delete /magic/subsystemdata/ $webpath/subsystemdata >> $scriptlog 2>&1
|
---|
44 |
|
---|
45 | echo "do rsync for sequence files" >> $scriptlog 2>&1
|
---|
46 | rsync -av --delete /magic/sequences/ $webpath/sequences >> $scriptlog 2>&1
|
---|
47 |
|
---|
48 | date >> $scriptlog 2>&1
|
---|
49 |
|
---|
50 | printprocesslog "INFO $0 finished"
|
---|
51 |
|
---|