Changeset 7474 for trunk/MagicSoft/Mars/datacenter/scripts
- Timestamp:
- 02/03/06 10:35:02 (19 years ago)
- Location:
- trunk/MagicSoft/Mars/datacenter/scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/runcallisto
r7469 r7474 217 217 if [ "$cacofile" = "" ] 218 218 then 219 echo " no cacofile found for run "$runno>> $scriptlog 2>&1219 echo "cacofile with no $runno not found" >> $scriptlog 2>&1 220 220 echo "finding cacofile..." >> $scriptlog 2>&1 221 221 for (( i = 0; i <= 10; i++ )) … … 229 229 if [ "$cacofile" = "" ] 230 230 then 231 if [ $i -eq 9 ] 232 then 233 echo "no cacofile found" >> $scriptlog 2>&1 234 com="no cacofile for run $runno" 235 check=0 236 fi 231 237 continue 232 238 else … … 235 241 fi 236 242 done 237 echo "no cacofile found" >> $scriptlog 2>&1238 com="no cacofile for run $runno"239 check=0240 break241 243 fi 242 244 ./merpp -u --log=$merpplogpath/merppccupdate$runno.log --html=$merpplogpath/merppccupdate$runno.html --auto-time-stop --runfile=$runno $ccfile $calfile 2>> $scriptlog> /dev/null -
trunk/MagicSoft/Mars/datacenter/scripts/sourcefile
r7473 r7474 47 47 datasetpath=/magic/datasets 48 48 49 check="ok" 50 49 51 50 52 function makedir() … … 92 94 stop) echo "stop" 93 95 case $check in 94 0) echo " ok"96 ok) echo " ok" 95 97 statustime="Now()" 96 98 ;; … … 107 109 ;; 108 110 esac 109 check=110 111 111 112 # printstatusvalues … … 116 117 checkstatus=`root -q -b $macrospath/setstatus.C+\("\"$sequence\""\,"\"$table\""\,"\"$column\""\,"\"$statustime\""\,"\"$failedcode\""\,"\"$failedcomment\""\,"\"$starttime\""\,"\"$failedtime\""\) | tee $setstatuslog | grep int | sed -e 's/(int)//'` 117 118 case $checkstatus in 118 1) echo "checkstatus=$checkstatus -> everything ok, status has been set" 119 *) echo "checkstatus=$checkstatus -> ERROR -> step could not be set" 119 1) echo "checkstatus=$checkstatus -> everything ok, status has been set";; 120 *) echo "checkstatus=$checkstatus -> ERROR -> step could not be set";; 120 121 esac 121 122 }
Note:
See TracChangeset
for help on using the changeset viewer.