Changeset 7233 for trunk/MagicSoft/Mars/datacenter/scripts/runcallisto
- Timestamp:
- 07/30/05 01:15:40 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/runcallisto
r7232 r7233 46 46 47 47 scriptlogpath=$logpath/run/callisto/`date +%Y/%m/%d` 48 if [ ! -d $scriptlogpath ] 49 then 50 mkdir -pv $scriptlogpath 51 if [ ! -d $scriptlogpath ] 52 then 53 echo "could not make scriptlogpath "$scriptlogpath 54 exit 55 fi 56 fi 57 48 makedir $scriptlogpath 58 49 scriptlog=$scriptlogpath/runcallisto-$datetime.log 59 50 60 51 date >> $scriptlog 2>&1 61 52 62 63 if [ ! -d $getstatuslogpath ] 64 then 65 mkdir -pv $getstatuslogpath >> $scriptlog 2>&1 66 if [ ! -d $getstatuslogpath ] 67 then 68 echo "could not make getstatuslogpath "$getstatuslogpath >> $scriptlog 2>&1 69 date >> $scriptlog 2>&1 70 exit 71 fi 72 fi 53 makedir $getstatuslogpath >> $scriptlog 2>&1 73 54 74 55 cd $mars … … 178 159 outpath="$datapath/callisto/$no/$no2" 179 160 echo "outpath: "$outpath >> $scriptlog 2>&1 180 if [ ! -d $outpath ] 181 then 182 mkdir -pv $outpath >> $scriptlog 2>&1 183 if [ ! -d $outpath ] 184 then 185 echo "could not make outpath $outpath -> continue " >> $scriptlog 2>&1 186 continue 187 fi 188 fi 161 makedir $outpath >> $scriptlog 2>&1 162 189 163 sequfile="$sequpath/$no/sequence$no2.txt" 190 164 echo "sequfile: "$sequfile >> $scriptlog 2>&1 … … 216 190 217 191 merpplogpath=$outpath"/merpplogs" 218 if [ ! -d $merpplogpath ] 219 then 220 mkdir -pv $merpplogpath >> $scriptlog 2>&1 221 if [ ! -d $merpplogpath ] 222 then 223 echo "could not make merpplogpath "$merpplogpath >> $scriptlog 2>&1 224 continue 225 fi 226 fi 192 makedir $merpplogpath >> $scriptlog 2>&1 227 193 228 194 for calfile in ${calfiles[@]} … … 279 245 echo "inserting the status for callisto for sequence $sequence into the db" >> $scriptlog 2>&1 280 246 setstatuslogpath=$logpath/setstatus/callisto/$no 281 if [ ! -d $setstatuslogpath ] 282 then 283 mkdir -pv $setstatuslogpath >> $scriptlog 2>&1 284 if [ ! -d $setstatuslogpath ] 285 then 286 echo "could not make setstatuslogpath "$setstatuslogpath >> $scriptlog 2>&1 287 continue 288 fi 289 fi 247 makedir $setstatuslogpath >> $scriptlog 2>&1 290 248 setstatuslog=$setstatuslogpath/setstatus-callisto-$no2.log 249 291 250 check4=`root -q -b $macrospath/setstatus.C+\("\"$sequence\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\) | tee $setstatuslog | grep int | sed -e 's/(int)//'` 292 251 case $check4 in
Note:
See TracChangeset
for help on using the changeset viewer.