1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/sh
#
# wrapper script to run DCS O2O
# Last updated: Apr 21, 2017
# Author: Huilin Qu
#
# Usage: SiStripDCS.sh JOB_NAME
JOBNAME=$1
O2O_HOME=/data/O2O/
source $O2O_HOME/scripts/setStripO2O.sh $JOBNAME
o2oRun_SiStripDCS.py $JOBNAME |tee -a $LOGFILE
# Exit with status of last command
# Make sure the last command is o2oRun_SiStripDCS.py!
exit $?
|