Changeset 9047 for trunk/MagicSoft/Mars/datacenter/scripts
- Timestamp:
- 07/28/08 14:08:53 (16 years ago)
- Location:
- trunk/MagicSoft/Mars/datacenter/scripts
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/buildsequenceentries
r8482 r9047 76 76 setstatus "start" >> $scriptlog 2>&1 77 77 78 check1=`root -q -b $macrospath/buildsequenceentries.C+\("\"$date\""\,"\"$datapath\""\,"\"$sequpath\""\, kFALSE\) | tee $buildsequentrieslog | intgrep`78 check1=`root -q -b $macrospath/buildsequenceentries.C+\("\"$date\""\,"\"$datapath\""\,"\"$sequpath\""\,1\,kFALSE\) | tee $buildsequentrieslog | intgrep` 79 79 80 80 case $check1 in -
trunk/MagicSoft/Mars/datacenter/scripts/dbchk
r8858 r9047 92 92 then 93 93 echo "No sequence file: $file" >> $scriptlog 2>&1 94 printprocesslog "ERROR No sequence file: $file" 94 95 continue 95 96 fi … … 99 100 then 100 101 echo "Sequence-File $sequence exist but it is not in Sequences." >> $scriptlog 2>&1 102 printprocesslog "ERROR Sequence-File $sequence exists, but it is not in Sequences (DB)." 101 103 continue 102 104 fi … … 112 114 then 113 115 echo "Invalid directory: $dir" >> $scriptlog 2>&1 116 printprocesslog "ERROR Invalid directory: $dir" 114 117 continue 115 118 fi … … 119 122 then 120 123 echo "$dir exists but no corresponding sequence in Sequences." >> $scriptlog 2>&1 124 printprocesslog "ERROR $dir exists, but no corresponding sequence in Sequences (DB)." 121 125 continue 122 126 fi … … 132 136 then 133 137 echo "Invalid directory: $dir" >> $scriptlog 2>&1 138 printprocesslog "ERROR Invalid directory: $dir" 134 139 continue 135 140 fi … … 139 144 then 140 145 echo "$dir exists but no corresponding sequence in Sequences." >> $scriptlog 2>&1 146 printprocesslog "ERROR $dir exists, but no corresponding sequence in Sequences (DB)." 141 147 continue 142 148 fi … … 152 158 then 153 159 echo "Sequence-File for $sequence not found but in db." >> $scriptlog 2>&1 160 printprocesslog "ERROR Sequence-File for $sequence not found but in DB." 154 161 fi 155 162 done … … 164 171 then 165 172 echo "Sequence $sequence exists in Sequences but not in RunData." >> $scriptlog 2>&1 173 printprocesslog "Sequence $sequence exists in Sequences but not in RunData (DB)." 166 174 continue 167 175 fi … … 177 185 then 178 186 echo "Sequence $sequence exists in RunData but not in Sequences." >> $scriptlog 2>&1 187 printprocesslog "Sequence $sequence exists in RunData but not in Sequences (DB)." 179 188 continue 180 189 fi -
trunk/MagicSoft/Mars/datacenter/scripts/doexclusions
r8482 r9047 76 76 setstatus "start" >> $scriptlog 2>&1 77 77 78 check1=`root -q -b $macrospath/doexclusions.C+\("\"$date\""\ ) | tee $doexclusionslog | intgrep`78 check1=`root -q -b $macrospath/doexclusions.C+\("\"$date\""\,1\,kFALSE\) | tee $doexclusionslog | intgrep` 79 79 80 80 case $check1 in -
trunk/MagicSoft/Mars/datacenter/scripts/sourcefile
r8778 r9047 283 283 query=$query" isnull($column) " 284 284 query=$query" and isnull(fStartTime) and isnull(fFailedTime) and isnull(fFailedCode) and isnull(fFailedCodeAdd) and isnull(fReturnCode) " 285 query=$query" order by $primary desc "285 query=$query" order by fPriority desc " 286 286 # echo " QUERY: "$query 287 287 if ! process=`mysql -s -u $us --password=$pw --host=vela $db -e " $query "` … … 328 328 query=$query" isnull($column) " 329 329 query=$query" and isnull(fStartTime) and isnull(fFailedTime) and isnull(fFailedCode) and isnull(fFailedCodeAdd) and isnull(fReturnCode) " 330 query=$query" order by $primary desc "330 query=$query" order by fPriority desc " 331 331 query=$query" limit 0, 1 " 332 332 # echo " QUERY: "$query -
trunk/MagicSoft/Mars/datacenter/scripts/writesequencefiles
r8482 r9047 81 81 setstatus "start" >> $scriptlog 2>&1 82 82 83 check2=`root -q -b $macrospath/writesequencefile.C +\($sequence\,"\"$sequpath\""\) | tee $writesequencefilelog | intgrep`83 check2=`root -q -b $macrospath/writesequencefile.C\($sequence\,1\,"\"$sequpath\""\) | tee $writesequencefilelog | intgrep` 84 84 case $check2 in 85 85 1) echo " check2=$check2 -> everything ok " >> $scriptlog 2>&1
Note:
See TracChangeset
for help on using the changeset viewer.