Changeset 7233 for trunk/MagicSoft/Mars/datacenter/scripts/runstar
- Timestamp:
- 07/30/05 01:15:40 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/runstar
r7232 r7233 44 44 45 45 scriptlogpath=$logpath/run/star/`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 55 46 makedir $scriptlogpath 56 47 scriptlog=$scriptlogpath/runstar-$datetime.log 57 48 58 49 date >> $scriptlog 2>&1 59 50 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 51 makedir $getstatuslogpath >> $scriptlog 2>&1 71 52 72 53 cd $mars … … 175 156 echo "inpath: "$inpath >> $scriptlog 2>&1 176 157 echo "outpath: "$outpath >> $scriptlog 2>&1 177 if [ ! -d $outpath ] 178 then 179 mkdir -pv $outpath >> $scriptlog 2>&1 180 if [ ! -d $outpath ] 181 then 182 echo "could not make outpath $outpath -> continue " >> $scriptlog 2>&1 183 continue 184 fi 185 fi 158 makedir $outpath >> $scriptlog 2>&1 159 186 160 sequfile="$sequpath/$no/sequence$no2.txt" 187 161 echo "sequfile: "$sequfile >> $scriptlog 2>&1 … … 195 169 echo "-> inserting the status for star for sequence $sequence into the db" >> $scriptlog 2>&1 196 170 setstatuslogpath=$logpath/setstatus/star/$no 197 if [ ! -d $setstatuslogpath ] 198 then 199 mkdir -pv $setstatuslogpath >> $scriptlog 2>&1 200 if [ ! -d $setstatuslogpath ] 201 then 202 echo "could not make setstatuslogpath "$setstatuslogpath >> $scriptlog 2>&1 203 continue 204 fi 205 fi 171 makedir $setstatuslogpath >> $scriptlog 2>&1 206 172 setstatuslog=$setstatuslogpath/setstatus-star-$no2.log 173 207 174 check4=`root -q -b $macrospath/setstatus.C+\("\"$sequence\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\) | tee $setstatuslog | grep int | sed -e 's/(int)//'` 208 175 case $check4 in
Note:
See TracChangeset
for help on using the changeset viewer.