Changeset 7232 for trunk/MagicSoft/Mars/datacenter/scripts
- Timestamp:
- 07/29/05 23:13:12 (19 years ago)
- Location:
- trunk/MagicSoft/Mars/datacenter/scripts
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/buildsequenceentries
r7213 r7232 83 83 84 84 echo "getting list..." >> $scriptlog 2>&1 85 check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\ ) | tee $getstatus.log | grep int | sed -e 's/(int)//'`85 check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\,"\"$listpath\""\) | tee $getstatus.log | grep int | sed -e 's/(int)//'` 86 86 87 87 case $check0 in … … 117 117 fi 118 118 fi 119 check1=`root -q -b $macrospath/buildsequenceentries.C+\("\"$date\""\, kFALSE\) | tee $buildsequentriespath/buildsequenceentries-$date.log | grep int | sed -e 's/(int)//'`119 check1=`root -q -b $macrospath/buildsequenceentries.C+\("\"$date\""\,"\"$datapath\""\,"\"$sequpath\""\,kFALSE\) | tee $buildsequentriespath/buildsequenceentries-$date.log | grep int | sed -e 's/(int)//'` 120 120 121 121 case $check1 in -
trunk/MagicSoft/Mars/datacenter/scripts/checkfilesforsequenceavail
r7213 r7232 74 74 75 75 echo "getting list..." >> $scriptlog 2>&1 76 check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\ ) | tee $getstatuslog | grep int | sed -e 's/(int)//'`76 check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\,"\"$listpath\""\) | tee $getstatuslog | grep int | sed -e 's/(int)//'` 77 77 78 78 case $check0 in -
trunk/MagicSoft/Mars/datacenter/scripts/checkstardone
r7213 r7232 75 75 76 76 echo "getting list..." >> $scriptlog 2>&1 77 check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\ ) | tee $getstatuslog | grep int | sed -e 's/(int)//'`77 check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\,"\"$listpath\""\) | tee $getstatuslog | grep int | sed -e 's/(int)//'` 78 78 79 79 case $check0 in … … 99 99 no=`printf %08d $dataset | cut -c 0-5` 100 100 echo "checking files for dataset $dataset..." >> $scriptlog 2>&1 101 datasetfile= /magic/datasets/$no/dataset`printf %08d $dataset`.txt101 datasetfile=$datasetpath/$no/dataset`printf %08d $dataset`.txt 102 102 sequences=(`cat $datasetfile | grep Sequences | sed -e 's/SequencesOn://g' | sed -e 's/SequencesOff://g'`) 103 103 -
trunk/MagicSoft/Mars/datacenter/scripts/correcttime
r7213 r7232 59 59 60 60 echo "getting list..." 61 check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\ ) | tee $getstatuslog | grep int | sed -e 's/(int)//'`61 check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\,"\"$listpath\""\) | tee $getstatuslog | grep int | sed -e 's/(int)//'` 62 62 63 63 case $check0 in -
trunk/MagicSoft/Mars/datacenter/scripts/doexclusions
r7213 r7232 83 83 84 84 echo "getting list..." >> $scriptlog 2>&1 85 check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\ ) | tee $getstatuslog | grep int | sed -e 's/(int)//'`85 check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\,"\"$listpath\""\) | tee $getstatuslog | grep int | sed -e 's/(int)//'` 86 86 87 87 case $check0 in -
trunk/MagicSoft/Mars/datacenter/scripts/filesondisk
r7213 r7232 85 85 86 86 echo "checking missing cacofiles..." 87 check1=`root -q -b $macrospath/findcacofiles.C+\("\"$date\""\ ) | tee $filesondisklogpath/findcacofiles-$date.log | grep int | sed -e 's/(int)//'`87 check1=`root -q -b $macrospath/findcacofiles.C+\("\"$date\""\,"\"$filesondisklogpath\""\) | tee $filesondisklogpath/findcacofiles-$date.log | grep int | sed -e 's/(int)//'` 88 88 89 89 case $check1 in -
trunk/MagicSoft/Mars/datacenter/scripts/fillcallisto
r7213 r7232 83 83 84 84 echo "getting list..." >> $scriptlog 2>&1 85 check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\ ) | tee $getstatuslog | grep int | sed -e 's/(int)//'`85 check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\,"\"$listpath\""\) | tee $getstatuslog | grep int | sed -e 's/(int)//'` 86 86 87 87 case $check0 in -
trunk/MagicSoft/Mars/datacenter/scripts/fillstar
r7213 r7232 83 83 84 84 echo "getting list..." >> $scriptlog 2>&1 85 check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\ ) | tee $getstatuslog | grep int | sed -e 's/(int)//'`85 check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\,"\"$listpath\""\) | tee $getstatuslog | grep int | sed -e 's/(int)//'` 86 86 87 87 case $check0 in -
trunk/MagicSoft/Mars/datacenter/scripts/insertdatasets
r7213 r7232 64 64 65 65 66 datasetfiles=(`ls /magic/datasets/*/*`)66 datasetfiles=(`ls $datasetpath/*/*`) 67 67 echo "datasetfiles: "${datasetfiles[@]} >> $scriptlog 2>&1 68 68 echo "" >> $scriptlog 2>&1 -
trunk/MagicSoft/Mars/datacenter/scripts/runcallisto
r7213 r7232 32 32 set -C 33 33 34 callistorcnew= /magic/datacenter/setup/callisto/callisto.rc34 callistorcnew=$setuppath/callisto/callisto.rc 35 35 36 36 table=SequenceProcessStatus … … 95 95 96 96 echo "getting list..." >> $scriptlog 2>&1 97 check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\ ) | tee $getstatuslog | grep int | sed -e 's/(int)//'`97 check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\,"\"$listpath\""\) | tee $getstatuslog | grep int | sed -e 's/(int)//'` 98 98 99 99 case $check0 in … … 187 187 fi 188 188 fi 189 sequfile=" /magic/sequences/$no/sequence$no2.txt"189 sequfile="$sequpath/$no/sequence$no2.txt" 190 190 echo "sequfile: "$sequfile >> $scriptlog 2>&1 191 191 -
trunk/MagicSoft/Mars/datacenter/scripts/runganymed
r7213 r7232 90 90 else 91 91 echo "getting list..." >> $scriptlog 2>&1 92 check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\ ) | tee $getstatuslog | grep int | sed -e 's/(int)//'`92 check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\,"\"$listpath\""\) | tee $getstatuslog | grep int | sed -e 's/(int)//'` 93 93 94 94 case $check0 in … … 181 181 fi 182 182 fi 183 datasetfile=" /magic/datasets/$no/dataset$no2.txt"183 datasetfile="$datasetpath/$no/dataset$no2.txt" 184 184 echo "datasetfile: "$datasetfile >> $scriptlog 2>&1 185 185 wobble=`grep 'WobbleMode:' $datasetfile` >> $scriptlog 2>&1 … … 191 191 mode="onoff" >> $scriptlog 2>&1 192 192 fi 193 ganymedrc= /magic/datacenter/setup/ganymed/ganymed_$mode.rc193 ganymedrc=$setuppath/ganymed/ganymed_$mode.rc 194 194 195 195 echo "run ganymed..." >> $scriptlog 2>&1 -
trunk/MagicSoft/Mars/datacenter/scripts/runstar
r7213 r7232 90 90 else 91 91 echo "getting list..." >> $scriptlog 2>&1 92 check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\ ) | tee $getstatuslog | grep int | sed -e 's/(int)//'`92 check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\,"\"$listpath\""\) | tee $getstatuslog | grep int | sed -e 's/(int)//'` 93 93 94 94 case $check0 in … … 184 184 fi 185 185 fi 186 sequfile=" /magic/sequences/$no/sequence$no2.txt"186 sequfile="$sequpath/$no/sequence$no2.txt" 187 187 echo "sequfile: "$sequfile >> $scriptlog 2>&1 188 188 -
trunk/MagicSoft/Mars/datacenter/scripts/sourcefile
r7106 r7232 35 35 scriptspath=$mars/datacenter/scripts 36 36 37 logpath=/magic/datacenter/autologs 37 38 lockpath=/magic/datacenter/locks 38 39 listpath=/magic/datacenter/lists 39 logpath=/magic/datacenter/autologs 40 setuppath=/magic/datacenter/setup 41 40 42 datapath=/magic/data 43 subsystempath=/magic/subsystemdata 44 sequpath=/magic/sequences 45 datasetpath=/magic/datasets 41 46 -
trunk/MagicSoft/Mars/datacenter/scripts/writesequencefiles
r7213 r7232 83 83 84 84 echo "getting list..." >> $scriptlog 2>&1 85 check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\ ) | tee $getstatuslog | grep int | sed -e 's/(int)//'`85 check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\,"\"$listpath\""\) | tee $getstatuslog | grep int | sed -e 's/(int)//'` 86 86 87 87 case $check0 in … … 107 107 no=`printf %08d $sequence | cut -c 0-4` 108 108 no2=`printf %08d $sequence` 109 sequencepath= /magic/sequences/$no109 sequencepath=$sequpath/$no 110 110 if [ ! -d $sequencepath ] 111 111 then … … 131 131 132 132 echo "write sequencefile for sequence $sequence" >> $scriptlog 2>&1 133 check2=`root -q -b $macrospath/writesequencefile.C+\($sequence\ ) | tee $writesequencefilelogpath/writesequencefile-$no2.log | grep int | sed -e 's/(int)//'`133 check2=`root -q -b $macrospath/writesequencefile.C+\($sequence\,"\"$sequpath\""\) | tee $writesequencefilelogpath/writesequencefile-$no2.log | grep int | sed -e 's/(int)//'` 134 134 case $check2 in 135 135 1) echo "check2=$check2 -> everthing ok " >> $scriptlog 2>&1
Note:
See TracChangeset
for help on using the changeset viewer.