Changeset 7233 for trunk/MagicSoft/Mars/datacenter/scripts/runganymed
- Timestamp:
- 07/30/05 01:15:40 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/runganymed
r7232 r7233 44 44 45 45 scriptlogpath=$logpath/run/ganymed/`date +%Y/%m/%d` 46 if [ ! -d $scriptlogpath ] 47 then 48 mkdir -pv $scriptlogpath 49 if [ ! -d $scriptlogpath ] 50 then 51 echo "could not make scriptlogpath "$scriptlogpath 52 exit 53 fi 54 fi 46 makedir $scriptlogpath 55 47 56 48 scriptlog=$scriptlogpath/runganymed-$datetime.log … … 58 50 date >> $scriptlog 2>&1 59 51 60 61 if [ ! -d $getstatuslogpath ] 62 then 63 mkdir -pv $getstatuslogpath >> $scriptlog 2>&1 64 if [ ! -d $getstatuslogpath ] 65 then 66 echo "could not make getstatuslogpath "$getstatuslogpath >> $scriptlog 2>&1 67 date >> $scriptlog 2>&1 68 exit 69 fi 70 fi 52 makedir $getstatuslogpath >> $scriptlog 2>&1 71 53 72 54 cd $mars … … 172 154 outpath="$datapath/ganymed/$no/$no2" 173 155 echo "outpath: "$outpath >> $scriptlog 2>&1 174 if [ ! -d $outpath ] 175 then 176 mkdir -pv $outpath >> $scriptlog 2>&1 177 if [ ! -d $outpath ] 178 then 179 echo "could not make outpath $outpath -> continue " >> $scriptlog 2>&1 180 continue 181 fi 182 fi 156 makedir $outpath >> $scriptlog 2>&1 157 183 158 datasetfile="$datasetpath/$no/dataset$no2.txt" 184 159 echo "datasetfile: "$datasetfile >> $scriptlog 2>&1 … … 201 176 echo "-> inserting the status for ganymed for dataset $dataset into the db" >> $scriptlog 2>&1 202 177 setstatuslogpath=$logpath/setstatus/ganymed/$no 203 if [ ! -d $setstatuslogpath ] 204 then 205 mkdir -pv $setstatuslogpath >> $scriptlog 2>&1 206 if [ ! -d $setstatuslogpath ] 207 then 208 echo "could not make setstatuslogpath "$setstatuslogpath >> $scriptlog 2>&1 209 continue 210 fi 211 fi 178 makedir $setstatuslogpath >> $scriptlog 2>&1 212 179 setstatuslog=$setstatuslogpath/setstatus-ganymed-$no2.log 180 213 181 check4=`root -q -b $macrospath/setstatus.C+\("\"$dataset\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\) | tee $setstatuslog | grep int | sed -e 's/(int)//'` 214 182 case $check4 in
Note:
See TracChangeset
for help on using the changeset viewer.