Changeset 7911 for trunk/MagicSoft/Mars/datacenter/scripts/fillganymed
- Timestamp:
- 08/22/06 15:36:10 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/fillganymed
r7909 r7911 28 28 # for all datasets of which the results are not yet in the database. 29 29 # 30 # After checking, if the script is already running, the todolist is 31 # written 30 # After checking if the script is already running the todolist is written. 32 31 # Then for each dataset in the todo list the ganymed results are filled 33 32 # into the table Ganymed in the database using the macro fillganymed.C … … 78 77 ganymedfile=$path/ganymed$no2.root 79 78 fillganymedlogpath=$logpath/$program/$no 80 echo "$programlogpath: "$fillganymedlogpath >> $scriptlog 2>&181 79 makedir $fillganymedlogpath >> $scriptlog 2>&1 82 80 fillganymedlog=$fillganymedlogpath/$program-$dataset.log … … 87 85 check2=`root -q -b $macrospath/fillganymed.C+\("\"$ganymedfile\""\,kFALSE\) | tee $fillganymedlog | grep int | sed -e 's/(int)//'` 88 86 case $check2 in 89 1) echo " check2=$check2 -> everything ok " >> $scriptlog 2>&1 ;;90 0) echo " check2=$check2 -> no connection to db -> continue..." >> $scriptlog 2>&187 1) echo " check2=$check2 -> everything ok " >> $scriptlog 2>&1 ;; 88 0) echo " check2=$check2 -> no connection to db -> continue..." >> $scriptlog 2>&1 91 89 check="no" 92 90 ;; 93 *) echo " check2=$check2 -> ERROR -> step has to be repeated" >> $scriptlog 2>&191 *) echo " check2=$check2 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1 94 92 com=$Ffillganymed 95 93 check=$check2 96 94 ;; 97 95 esac 98 echo "inserting the status for $program for dataset $dataset into the db" >> $scriptlog 2>&1 96 99 97 setstatus "stop" >> scriptlog 2>&1 100 98 done
Note:
See TracChangeset
for help on using the changeset viewer.