Changeset 7265 for trunk/MagicSoft
- Timestamp:
- 08/05/05 18:33:55 (19 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 1 added
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7264 r7265 18 18 19 19 -*-*- END OF LINE -*-*- 20 21 2005/08/05 Daniela Dorner 22 23 * datacenter/macros/setupdb.C: 24 - exchanged in the table RunProcessStatus the column fFillDotRaw 25 by the column fDataCheckDone 26 27 * steps.rc: 28 - adapted to the needs of the new step fDataCheckDone in the table 29 RunProcessStatus 30 31 * datacenter/scripts/dodatacheck: 32 - added (script to do datacheck including filldotraw.C, sinope, 33 fillsinope.C, resetcolumn.C) 34 35 * datacenter/macros/filldotraw.C: 36 - adapted to the needs the new script dodatacheck 37 38 * datacenter/macros/fillsinope.C: 39 - adapted paths to the needs the new script dodatacheck 40 - removed test stuff 41 42 * datacenter/macros/getdolist.C: 43 - added if clause to reduce the number of runs for datacheck 44 (arrays in shell scripts are limited) 45 - added logging output 46 47 * datacenter/scripts/buildsequenceentries, fillcallisto, 48 checkfilesforsequenceavail, checkstardone, correcttime, 49 filesondisk, fillstar, insertdatasets, runganymed, runstar, 50 doexclusions, writesequencefiles, runcallisto: 51 - fixed typo and logging 52 53 20 54 21 55 2005/08/05 Thomas Bretz -
trunk/MagicSoft/Mars/datacenter/macros/filldotraw.C
r7260 r7265 133 133 } 134 134 135 Int_t Process(MSQLServer &serv, TString fname, Bool_t dummy)135 int Process(MSQLServer &serv, TString fname, Bool_t dummy) 136 136 { 137 137 MRawRunHeader h; … … 165 165 } 166 166 167 Int_t filldotraw(TString fname, Bool_t dummy=kTRUE)167 int filldotraw(TString fname, Bool_t dummy=kTRUE) 168 168 { 169 169 TEnv env("sql.rc"); … … 186 186 } 187 187 188 Int_t filldotraw(Int_t runno, Bool_t dummy=kTRUE)188 int filldotraw(Int_t runno, Bool_t dummy=kTRUE) 189 189 { 190 190 TEnv env("sql.rc"); -
trunk/MagicSoft/Mars/datacenter/macros/fillsinope.C
r7262 r7265 94 94 for (Int_t i=0 ; i<9 ; i++) 95 95 { 96 cout << "value: " << values[i] << endl; 96 // cout << "value: " << values[i] << endl; 97 // cout << "str: " << str << endl; 97 98 str = env.GetValue(values[i], ""); 98 99 if (str.IsNull()) … … 174 175 } 175 176 176 TString fname(Form("%s/sinope/%s/sinope %08d.txt",177 TString fname(Form("%s/sinope/%s/sinope-dat%08d.txt", 177 178 datapath.Data(), date.Data(), runno)); 178 179 cout << "file: " << fname << endl; … … 180 181 datapath.Data(), date.Data(), runno)); 181 182 cout << "file-cal: " << fnamecal << endl; 182 183 fname="/home/bla/Mars.cvs/bla.txt";184 fnamecal="/home/bla/Mars.cvs/blacal.txt";185 183 186 184 Int_t rc=0; … … 190 188 191 189 rc=Process(serv, fnamecal, runno, kTRUE, dummy); 192 193 190 return rc; 194 195 191 } -
trunk/MagicSoft/Mars/datacenter/macros/getdolist.C
r7256 r7265 112 112 query+=Form(" ORDER BY %s.%s DESC ", table.Data(), rc.GetValue(table+".Primary", "")); 113 113 114 if (table="RunProcessStatus") 115 query+="LIMIT 0, 500"; 116 114 117 cout << "query: " << query << endl; 115 118 116 119 TSQLResult *res = serv.Query(query); 117 120 if (!res) 121 { 122 cout << "ERROR - Query failed: " << query << endl; 118 123 return 0; 124 } 119 125 120 126 -
trunk/MagicSoft/Mars/datacenter/macros/setupdb.C
r7262 r7265 595 595 " fCaCoFileFound INT UNSIGNED NULL," 596 596 " fRawFileAvail DATETIME NULL," 597 " f FillDotRawDATETIME NULL,"597 " fDataCheckDone DATETIME NULL," 598 598 " fTimingCorrection DATETIME NULL," 599 599 " fMerpp DATETIME NULL," -
trunk/MagicSoft/Mars/datacenter/scripts/buildsequenceentries
r7233 r7265 57 57 0) echo "checklock0=$checklock0 -> continue " >> $scriptlog 2>&1;; 58 58 1) echo "checklock0=$checklock0 -> file exists " >> $scriptlog 2>&1 59 echo "-> getting list for callistois running -> exit" >> $scriptlog 2>&159 echo "-> getting list for buildsequenceentries is running -> exit" >> $scriptlog 2>&1 60 60 date >> $scriptlog 2>&1 61 61 exit;; … … 68 68 69 69 case $check0 in 70 1) echo "check0=$check0 -> ever thing ok -> do step" >> $scriptlog 2>&1;;70 1) echo "check0=$check0 -> everything ok -> do step" >> $scriptlog 2>&1;; 71 71 *) echo "check0=$check0 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1;; 72 72 esac … … 95 95 96 96 case $check1 in 97 1) echo "check1=$check1 -> ever thing ok -> setting status..." >> $scriptlog 2>&197 1) echo "check1=$check1 -> everything ok -> setting status..." >> $scriptlog 2>&1 98 98 setstatuslogpath=$logpath/setstatus/buildsequenceentries/$year2 99 99 makedir $setstatuslogpath >> $scriptlog 2>&1 … … 101 101 check2=`root -q -b $macrospath/setstatus.C+\("\"$date\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\) | tee $setstatuslogpath/setstatus-buildsequenceentries-$date.log | grep int | sed -e 's/(int)//'` 102 102 case $check2 in 103 1) echo "check2=$check2 -> ever thing ok, status has been set" >> $scriptlog 2>&1;;103 1) echo "check2=$check2 -> everything ok, status has been set" >> $scriptlog 2>&1;; 104 104 *) echo "check2=$check2 -> ERROR -> step could not be set" >> $scriptlog 2>&1;; 105 105 esac -
trunk/MagicSoft/Mars/datacenter/scripts/checkfilesforsequenceavail
r7233 r7265 61 61 62 62 case $check0 in 63 1) echo "check0=$check0 -> ever thing ok -> do step" >> $scriptlog 2>&1 ;;63 1) echo "check0=$check0 -> everything ok -> do step" >> $scriptlog 2>&1 ;; 64 64 *) echo "check0=$check0 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1 ;; 65 65 esac … … 89 89 90 90 case $check1 in 91 1) echo "check1=$check1 -> ever thing ok -> setting status..." >> $scriptlog 2>&191 1) echo "check1=$check1 -> everything ok -> setting status..." >> $scriptlog 2>&1 92 92 setstatuslogpath=$logpath/setstatus/checkfileavail/$no 93 93 makedir $setstatuslogpath >> $scriptlog 2>&1 … … 95 95 check2=`root -q -b $macrospath/setstatus.C+\("\"$sequence\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\) | tee $setstatuslogpath/setstatus-checkfileavail-$sequence.log | grep int | sed -e 's/(int)//'` 96 96 case $check2 in 97 1) echo "check2=$check2 -> ever thing ok, status has been set" >> $scriptlog 2>&1 ;;97 1) echo "check2=$check2 -> everything ok, status has been set" >> $scriptlog 2>&1 ;; 98 98 *) echo "check2=$check2 -> ERROR -> step could not be set" >> $scriptlog 2>&1 ;; 99 99 esac -
trunk/MagicSoft/Mars/datacenter/scripts/checkstardone
r7233 r7265 62 62 63 63 case $check0 in 64 1) echo "check0=$check0 -> ever thing ok -> do step" >> $scriptlog 2>&1 ;;64 1) echo "check0=$check0 -> everything ok -> do step" >> $scriptlog 2>&1 ;; 65 65 *) echo "check0=$check0 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1 ;; 66 66 esac … … 104 104 105 105 case $check1 in 106 1) echo "check1=$check1 -> ever thing ok -> continue with next sequence..." >> $scriptlog 2>&1 ;;106 1) echo "check1=$check1 -> everything ok -> continue with next sequence..." >> $scriptlog 2>&1 ;; 107 107 *) echo "check1=$check1 -> ERROR " >> $scriptlog 2>&1 108 108 echo "starfiles not available for sequence -> continue" >> $scriptlog 2>&1 … … 117 117 check2=`root -q -b $macrospath/setstatus.C+\("\"$dataset\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\) | tee $setstatuslogpath/setstatus-checkstardone-$dataset.log | grep int | sed -e 's/(int)//'` 118 118 case $check2 in 119 1) echo "check2=$check2 -> ever thing ok, status has been set" >> $scriptlog 2>&1 ;;119 1) echo "check2=$check2 -> everything ok, status has been set" >> $scriptlog 2>&1 ;; 120 120 *) echo "check2=$check2 -> ERROR -> step could not be set" >> $scriptlog 2>&1 ;; 121 121 esac -
trunk/MagicSoft/Mars/datacenter/scripts/correcttime
r7233 r7265 52 52 53 53 case $check0 in 54 1) echo "check0=$check0 -> ever thing ok -> run correct_raw_time";;54 1) echo "check0=$check0 -> everything ok -> run correct_raw_time";; 55 55 *) echo "check0=$check0 -> ERROR -> step has to be repeated";; 56 56 esac … … 88 88 89 89 case $check1 in 90 1) echo "check1=$check1 -> ever thing ok -> setting status..."90 1) echo "check1=$check1 -> everything ok -> setting status..." 91 91 no=`printf %08d $run | cut -c 1-5` 92 92 setstatuspath=$logpath/setstatus/correct_raw_time/$no … … 97 97 case $check2 in 98 98 0) echo "check2=0 -> ERROR -> step could not be set";; 99 1) echo "check2=1 -> ever thing ok, status has been set";;99 1) echo "check2=1 -> everything ok, status has been set";; 100 100 esac 101 101 ;; -
trunk/MagicSoft/Mars/datacenter/scripts/doexclusions
r7233 r7265 42 42 todofile=$listpath/ToDo-$table-$column.txt 43 43 getstatuslogpath=$logpath/getstatus/doexclusions/$year 44 getstatuslog=$getstatuslogpath/getstatus-doexclu dions-$datetime.log44 getstatuslog=$getstatuslogpath/getstatus-doexclusions-$datetime.log 45 45 46 46 scriptlogpath=$logpath/run/doexclusions/`date +%Y/%m` … … 58 58 0) echo "checklock0=$checklock0 -> continue " >> $scriptlog 2>&1;; 59 59 1) echo "checklock0=$checklock0 -> file exists " >> $scriptlog 2>&1 60 echo "-> getting list for callistois running -> exit" >> $scriptlog 2>&160 echo "-> getting list for doexclusions is running -> exit" >> $scriptlog 2>&1 61 61 date >> $scriptlog 2>&1 62 62 exit;; … … 69 69 70 70 case $check0 in 71 1) echo "check0=$check0 -> ever thing ok -> do step" >> $scriptlog 2>&1;;71 1) echo "check0=$check0 -> everything ok -> do step" >> $scriptlog 2>&1;; 72 72 *) echo "check0=$check0 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1;; 73 73 esac … … 88 88 for date in ${dates[@]} 89 89 do 90 echo "do exclusions for date "$date 90 echo "do exclusions for date "$date >> $scriptlog 2>&1 91 91 year2=`echo $date | cut -c 1-4` 92 92 doexclusionspath=$logpath/doexclusions/$year2 … … 96 96 97 97 case $check1 in 98 1) echo "check1= 1 -> everthing ok -> setting status..."98 1) echo "check1=$check1 -> everything ok -> setting status..." >> $scriptlog 2>&1 99 99 setstatuslogpath=$logpath/setstatus/doexclusions/$year2 100 100 makedir $setstatuslogpath >> $scriptlog 2>&1 … … 103 103 104 104 case $check2 in 105 1) echo "check2=$check2 -> ever thing ok, status has been set";;106 *) echo "check2=$check2 -> ERROR -> step could not be set" ;;105 1) echo "check2=$check2 -> everything ok, status has been set" >> $scriptlog 2>&1 ;; 106 *) echo "check2=$check2 -> ERROR -> step could not be set" >> $scriptlog 2>&1 ;; 107 107 esac 108 108 ;; 109 *) echo "check1=$check1 -> ERROR -> step has to be repeated" ;;109 *) echo "check1=$check1 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1 ;; 110 110 esac 111 111 done -
trunk/MagicSoft/Mars/datacenter/scripts/filesondisk
r7233 r7265 50 50 51 51 case $check3 in 52 1) echo "check3=$check3 -> ever thing ok -> reset is done";;52 1) echo "check3=$check3 -> everything ok -> reset is done";; 53 53 *) echo "check3=$check3 -> ERROR -> something went wrong while resetting";; 54 54 esac … … 68 68 69 69 case $check0 in 70 1) echo "check0=$check0 -> ever thing ok -> reset is done";;70 1) echo "check0=$check0 -> everything ok -> reset is done";; 71 71 *) echo "check0=$check0 -> ERROR -> something went wrong while resetting";; 72 72 esac … … 78 78 79 79 case $check1 in 80 1) echo "check1=$check1 -> ever thing ok -> missing cacofiles are found";;80 1) echo "check1=$check1 -> everything ok -> missing cacofiles are found";; 81 81 *) echo "check1=$check1 -> ERROR -> something went wrong while resetting";; 82 82 esac … … 110 110 111 111 case $check2 in 112 1) echo "check2=$check2 -> ever thing ok -> insert is done";;112 1) echo "check2=$check2 -> everything ok -> insert is done";; 113 113 *) echo "check2=$check2 -> ERROR -> something went wrong while inserting run "$missingcacorun;; 114 114 esac … … 133 133 134 134 case $check4 in 135 1) echo "check4=$check4 -> ever thing ok -> reset is done";;135 1) echo "check4=$check4 -> everything ok -> reset is done";; 136 136 *) echo "check4=$check4 -> ERROR -> something went wrong while resetting";; 137 137 esac -
trunk/MagicSoft/Mars/datacenter/scripts/fillcallisto
r7233 r7265 68 68 69 69 case $check0 in 70 1) echo "check0=$check0 -> ever thing ok -> run fillcallisto" >> $scriptlog 2>&1;;70 1) echo "check0=$check0 -> everything ok -> run fillcallisto" >> $scriptlog 2>&1;; 71 71 *) echo "check0=$check0 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1;; 72 72 esac … … 103 103 104 104 case $check1 in 105 1) echo "check1=$check1 -> ever thing ok -> run fillsignal " >> $scriptlog 2>&1;;105 1) echo "check1=$check1 -> everything ok -> run fillsignal " >> $scriptlog 2>&1;; 106 106 *) echo "check1=$check1 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1 107 107 continue;; … … 110 110 check2=`root -q -b $macrospath/fillsignal.C+\("\"$signalfile\""\,kFALSE\) | tee $fillsignallog | grep int | sed -e 's/(int)//'` 111 111 case $check2 in 112 1) echo "check2=$check2 -> ever thing ok " >> $scriptlog 2>&1112 1) echo "check2=$check2 -> everything ok " >> $scriptlog 2>&1 113 113 echo "-> inserting the status for fillcallisto for sequence $sequence into the db" >> $scriptlog 2>&1 114 114 setstatuslogpath=$logpath/setstatus/fillcallisto/$no … … 118 118 check4=`root -q -b $macrospath/setstatus.C+\("\"$sequence\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\) | tee $setstatuslog-$sequence.log | grep int | sed -e 's/(int)//'` 119 119 case $check4 in 120 1) echo "check4=$check4 -> ever thing ok, status has been set" >> $scriptlog 2>&1;;120 1) echo "check4=$check4 -> everything ok, status has been set" >> $scriptlog 2>&1;; 121 121 *) echo "check4=$check4 -> ERROR -> step could not be set" >> $scriptlog 2>&1;; 122 122 esac -
trunk/MagicSoft/Mars/datacenter/scripts/fillstar
r7233 r7265 67 67 68 68 case $check0 in 69 1) echo "check0=$check0 -> ever thing ok -> run fillstar" >> $scriptlog 2>&1;;69 1) echo "check0=$check0 -> everything ok -> run fillstar" >> $scriptlog 2>&1;; 70 70 *) echo "check0=$check0 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1;; 71 71 esac … … 98 98 check2=`root -q -b $macrospath/fillstar.C+\("\"$starfile\""\,kFALSE\) | tee $fillstarlog | grep int | sed -e 's/(int)//'` 99 99 case $check2 in 100 1) echo "check2=$check2 -> ever thing ok " >> $scriptlog 2>&1100 1) echo "check2=$check2 -> everything ok " >> $scriptlog 2>&1 101 101 echo "-> inserting the status for fillstar for sequence $sequence into the db" >> $scriptlog 2>&1 102 102 setstatuslogpath=$logpath/setstatus/fillstar/$no … … 106 106 check4=`root -q -b $macrospath/setstatus.C+\("\"$sequence\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\) | tee $setstatuslog | grep int | sed -e 's/(int)//'` 107 107 case $check4 in 108 1) echo "check4=$check4 -> ever thing ok, status has been set" >> $scriptlog 2>&1;;108 1) echo "check4=$check4 -> everything ok, status has been set" >> $scriptlog 2>&1;; 109 109 *) echo "check4=$check4 -> ERROR -> step could not be set" >> $scriptlog 2>&1;; 110 110 esac -
trunk/MagicSoft/Mars/datacenter/scripts/insertdatasets
r7233 r7265 49 49 0) echo "checklock0=$checklock0 -> continue " >> $scriptlog 2>&1;; 50 50 1) echo "checklock0=$checklock0 -> file exists " >> $scriptlog 2>&1 51 echo "-> getting list for callistois running -> exit" >> $scriptlog 2>&151 echo "-> getting list for insertdatasets is running -> exit" >> $scriptlog 2>&1 52 52 date >> $scriptlog 2>&1 53 53 exit;; … … 94 94 check0=`root -q -b $macrospath/insertdataset.C+\("\"$no2\""\,"\"$source\""\,"\"$wobble\"",kFALSE\) | tee $insertdatasetlog | grep int | sed -e 's/(int)//'` 95 95 case $check0 in 96 1) echo "check0=$check0 -> ever thing ok " >> $scriptlog 2>&1 ;;96 1) echo "check0=$check0 -> everything ok " >> $scriptlog 2>&1 ;; 97 97 *) echo "check0=$check0 -> ERROR " >> $scriptlog 2>&1 ;; 98 98 esac -
trunk/MagicSoft/Mars/datacenter/scripts/runcallisto
r7256 r7265 77 77 78 78 case $check0 in 79 1) echo "check0=$check0 -> ever thing ok -> run callisto" >> $scriptlog 2>&1;;79 1) echo "check0=$check0 -> everything ok -> run callisto" >> $scriptlog 2>&1;; 80 80 *) echo "check0=$check0 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1;; 81 81 esac … … 160 160 161 161 case $check1 in 162 0) echo "check1=$check1 -> ever thing ok -> doing update..." >> $scriptlog 2>&1162 0) echo "check1=$check1 -> everything ok -> doing update..." >> $scriptlog 2>&1 163 163 echo "finding files to be updated" >> $scriptlog 2>&1 164 164 calfiles=`find $outpath -name *_Y_* ` … … 211 211 check2=$? 212 212 case $check2 in 213 0) echo "check2=$check2 -> ever thing ok, merppccupdate worked -> continue" >> $scriptlog 2>&1;;213 0) echo "check2=$check2 -> everything ok, merppccupdate worked -> continue" >> $scriptlog 2>&1;; 214 214 *) echo "check2=$check2 -> ERROR -> merppccupdate failed" >> $scriptlog 2>&1 215 215 continue 2 ;; … … 218 218 check3=$? 219 219 case $check3 in 220 0) echo "check3=$check3 -> ever thing ok, merppcacoupdate worked -> continue" >> $scriptlog 2>&1;;220 0) echo "check3=$check3 -> everything ok, merppcacoupdate worked -> continue" >> $scriptlog 2>&1;; 221 221 *) echo "check3=$check3 -> ERROR -> merppcacoupdate failed" >> $scriptlog 2>&1 222 222 continue 2 ;; … … 231 231 check4=`root -q -b $macrospath/setstatus.C+\("\"$sequence\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\) | tee $setstatuslog | grep int | sed -e 's/(int)//'` 232 232 case $check4 in 233 1) echo "check4=$check4 -> ever thing ok, status has been set" >> $scriptlog 2>&1;;233 1) echo "check4=$check4 -> everything ok, status has been set" >> $scriptlog 2>&1;; 234 234 *) echo "check4=$check4 -> ERROR -> step could not be set" >> $scriptlog 2>&1;; 235 235 esac -
trunk/MagicSoft/Mars/datacenter/scripts/runganymed
r7258 r7265 75 75 76 76 case $check0 in 77 1) echo "check0=$check0 -> ever thing ok -> run ganymed" >> $scriptlog 2>&1;;77 1) echo "check0=$check0 -> everything ok -> run ganymed" >> $scriptlog 2>&1;; 78 78 *) echo "check0=$check0 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1;; 79 79 esac … … 153 153 154 154 case $check1 in 155 0) echo "check1=$check1 -> ever thing ok " >> $scriptlog 2>&1155 0) echo "check1=$check1 -> everything ok " >> $scriptlog 2>&1 156 156 echo "-> inserting the status for ganymed for dataset $dataset into the db" >> $scriptlog 2>&1 157 157 setstatuslogpath=$logpath/setstatus/ganymed/$no … … 161 161 check4=`root -q -b $macrospath/setstatus.C+\("\"$dataset\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\) | tee $setstatuslog | grep int | sed -e 's/(int)//'` 162 162 case $check4 in 163 1) echo "check4=$check4 -> ever thing ok, status has been set" >> $scriptlog 2>&1;;163 1) echo "check4=$check4 -> everything ok, status has been set" >> $scriptlog 2>&1;; 164 164 *) echo "check4=$check4 -> ERROR -> step could not be set" >> $scriptlog 2>&1;; 165 165 esac -
trunk/MagicSoft/Mars/datacenter/scripts/runstar
r7258 r7265 74 74 75 75 case $check0 in 76 1) echo "check0=$check0 -> ever thing ok -> run star" >> $scriptlog 2>&1;;76 1) echo "check0=$check0 -> everything ok -> run star" >> $scriptlog 2>&1;; 77 77 *) echo "check0=$check0 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1;; 78 78 esac … … 145 145 146 146 case $check1 in 147 0) echo "check1=$check1 -> ever thing ok " >> $scriptlog 2>&1147 0) echo "check1=$check1 -> everything ok " >> $scriptlog 2>&1 148 148 echo "-> inserting the status for star for sequence $sequence into the db" >> $scriptlog 2>&1 149 149 setstatuslogpath=$logpath/setstatus/star/$no … … 153 153 check4=`root -q -b $macrospath/setstatus.C+\("\"$sequence\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\) | tee $setstatuslog | grep int | sed -e 's/(int)//'` 154 154 case $check4 in 155 1) echo "check4=$check4 -> ever thing ok, status has been set" >> $scriptlog 2>&1;;155 1) echo "check4=$check4 -> everything ok, status has been set" >> $scriptlog 2>&1;; 156 156 *) echo "check4=$check4 -> ERROR -> step could not be set" >> $scriptlog 2>&1;; 157 157 esac -
trunk/MagicSoft/Mars/datacenter/scripts/writesequencefiles
r7233 r7265 67 67 68 68 case $check0 in 69 1) echo "check0=$check0 -> ever thing ok -> run writesequencefiles" >> $scriptlog 2>&1;;69 1) echo "check0=$check0 -> everything ok -> run writesequencefiles" >> $scriptlog 2>&1;; 70 70 *) echo "check0=$check0 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1;; 71 71 esac … … 98 98 check2=`root -q -b $macrospath/writesequencefile.C+\($sequence\,"\"$sequpath\""\) | tee $writesequencefilelogpath/writesequencefile-$no2.log | grep int | sed -e 's/(int)//'` 99 99 case $check2 in 100 1) echo "check2=$check2 -> ever thing ok " >> $scriptlog 2>&1100 1) echo "check2=$check2 -> everything ok " >> $scriptlog 2>&1 101 101 echo "-> inserting the status for writesequencefile for sequence $sequence into the db" >> $scriptlog 2>&1 102 102 setstatuslogpath=$logpath/setstatus/writesequencefile/$no … … 106 106 check4=`root -q -b $macrospath/setstatus.C+\("\"$sequence\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\) | tee $setstatuslog | grep int | sed -e 's/(int)//'` 107 107 case $check4 in 108 1) echo "check4=$check4 -> ever thing ok, status has been set" >> $scriptlog 2>&1;;108 1) echo "check4=$check4 -> everything ok, status has been set" >> $scriptlog 2>&1;; 109 109 *) echo "check4=$check4 -> ERROR -> step could not be set" >> $scriptlog 2>&1;; 110 110 esac -
trunk/MagicSoft/Mars/steps.rc
r7042 r7265 54 54 RunProcessStatus.fRawFileAvail.Default: no 55 55 #RunProcessStatus.fRawFileAvail.Needs: - 56 #RunProcessStatus.fRawFileAvail.Influences: RunProcessStatus.fTimingCorrection RunProcessStatus.f Merpp RunProcessStatus.fMerppCCUpdate RunProcessStatus.fMerppCaCoUpdate56 #RunProcessStatus.fRawFileAvail.Influences: RunProcessStatus.fTimingCorrection RunProcessStatus.fDataCheckDone RunProcessStatus.fMerpp RunProcessStatus.fMerppCCUpdate RunProcessStatus.fMerppCaCoUpdate 57 57 RunProcessStatus.fRawFileAvail.Reset: yes 58 58 … … 79 79 80 80 81 #RunProcessStatus.f FillDotRaw.:82 RunProcessStatus.f FillDotRaw.Default: no83 RunProcessStatus.f FillDotRaw.Needs: RunProcessStatus.fRawFileAvail84 #RunProcessStatus.f FillDotRaw.Influences: -85 RunProcessStatus.f FillDotRaw.Reset: yes81 #RunProcessStatus.fDataCheckDone.: 82 RunProcessStatus.fDataCheckDone.Default: no 83 RunProcessStatus.fDataCheckDone.Needs: RunProcessStatus.fRawFileAvail 84 #RunProcessStatus.fDataCheckDone.Influences: - 85 RunProcessStatus.fDataCheckDone.Reset: yes 86 86 87 87
Note:
See TracChangeset
for help on using the changeset viewer.