Changeset 8482 for trunk/MagicSoft/Mars/scripts/processsequence
- Timestamp:
- 05/09/07 17:05:15 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/scripts/processsequence
r8231 r8482 20 20 # Author(s): Daniela Dorner 10/2006 <mailto:dorner@astro.uni-wuerzburg.de> 21 21 # 22 # Copyright: MAGIC Software Development, 2000-200 622 # Copyright: MAGIC Software Development, 2000-2007 23 23 # 24 24 # … … 80 80 echo "" 81 81 ;; 82 [1-9]|[0-9][0-9]|1[0-1][0-9]|12[0-7])82 [1-9]|[0-9][0-9]|1[0-1][0-9]|12[0-7]) 83 83 echo -n "ERROR@$HOSTNAME: $program returned $check - please check the logfile $logfile" 84 84 if [ "$program" == "callisto" ] … … 229 229 mkdir -pv $merpplogpath 230 230 231 date=`date --date \`basename $calfile | cut -d_ -f1 +%Y/%m/%d\`` 232 ccpath=$subsystempath/cc/$date 233 cacopath=$subsystempath/caco/$date 231 234 runno=`echo $calfile | cut -d_ -f2 | sed -e 's/^0//' | sed -e 's/^0//' | sed -e 's/^0//' ` 232 ccfile=`find /magic/subsystemdata/cc/ -name 20[0-2][0-9][0,1][0-9][0-3][0-9]_*${runno}_[P,D,C,S]_*_S.rep` 233 cacofile=`find /magic/subsystemdata/caco/ -name dc_20[0-2][0-9]_[01][0-9]_[0-3][0-9]_*${runno}_*.txt` 235 ccfile=`find $ccpath -name 20[0-2][0-9][01][0-9][0-3][0-9]_*${runno}_[PDCS]_*_S.rep` 236 source=`echo $ccfile | cut -d_ -f4` 237 cacofile=`find /magic/subsystemdata/caco/$date -name dc_20[0-2][0-9]_[01][0-9]_[0-3][0-9]_*${runno}_${source}.txt` 234 238 echo "runno: "$runno 235 239 echo "ccfile: "$ccfile … … 247 251 do 248 252 newrun=`echo $runno - $i | bc` 249 # echo "$missingcacorun + $i = $newrun" 250 path=`dirname $ccfile` 251 path=`echo $path | sed -e 's/cc/caco/'` 252 echo "path: "$path 253 cacofile=`find $path -name *$newrun*` 253 cacofile=`find $cacopath -name *$newrun*` 254 254 if [ "$cacofile" = "" ] 255 255 then
Note:
See TracChangeset
for help on using the changeset viewer.