Changeset 7233 for trunk/MagicSoft/Mars/datacenter/scripts/checkstardone
- Timestamp:
- 07/30/05 01:15:40 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/checkstardone
r7232 r7233 41 41 42 42 scriptlogpath=$logpath/run/checkstardone/`date +%Y/%m/%d` 43 if [ ! -d $scriptlogpath ] 44 then 45 mkdir -pv $scriptlogpath 46 if [ ! -d $scriptlogpath ] 47 then 48 echo "could not make scriptlogpath "$scriptlogpath 49 exit 50 fi 51 fi 43 makedir $scriptlogpath 52 44 53 45 scriptlog=$scriptlogpath/checkstardone-$datetime.log … … 55 47 date >> $scriptlog 2>&1 56 48 57 if [ ! -d $getstatuslogpath ] 58 then 59 mkdir -pv $getstatuslogpath >> $scriptlog 2>&1 60 if [ ! -d $getstatuslogpath ] 61 then 62 echo "could not make getstatuslogpath "$getstatuslogpath >> $scriptlog 2>&1 63 exit 64 fi 65 fi 49 makedir $getstatuslogpath >> $scriptlog 2>&1 66 50 67 51 cd $mars … … 113 97 outpath=$logpath/checkstardone/$no 114 98 echo "outpath: "$outpath >> $scriptlog 2>&1 115 if [ ! -d $outpath ] 116 then 117 mkdir -pv $outpath >> $scriptlog 2>&1 118 if [ ! -d $outpath ] 119 then 120 echo "could not make outpath $outpath -> continue " >> $scriptlog 2>&1 121 continue 122 fi 123 fi 99 makedir $outpath >> $scriptlog 2>&1 124 100 125 101 for sequence in ${sequences[@]} … … 137 113 138 114 setstatuslogpath=$logpath/setstatus/checkstardone/$no 139 if [ ! -d $setstatuslogpath ] 140 then 141 mkdir -pv $setstatuslogpath >> $scriptlog 2>&1 142 if [ ! -d $setstatuslogpath ] 143 then 144 echo "could not make setstatuslogpath "$setstatuslogpath >> $scriptlog 2>&1 145 continue 146 fi 147 fi 115 makedir $setstatuslogpath >> $scriptlog 2>&1 116 148 117 check2=`root -q -b $macrospath/setstatus.C+\("\"$dataset\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\) | tee $setstatuslogpath/setstatus-checkstardone-$dataset.log | grep int | sed -e 's/(int)//'` 149 118 case $check2 in
Note:
See TracChangeset
for help on using the changeset viewer.