Changeset 7233 for trunk/MagicSoft/Mars/datacenter/scripts/correcttime
- Timestamp:
- 07/30/05 01:15:40 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/correcttime
r7232 r7233 38 38 getstatuslogpath=$logpath/getstatus/correct_raw_time/$year 39 39 getstatuslog=$getstatuslogpath/getstatus-$table-$column-$datetime.log 40 41 if [ ! -d $getstatuslogpath ] 42 then 43 mkdir -pv $getstatuslogpath 44 if [ ! -d $getstatuslogpath ] 45 then 46 echo "could not make getstatuslogpath "$getstatuslogpath 47 exit 48 fi 49 fi 50 40 makedir $getstatuslogpath >> $scriptlog 2>&1 51 41 52 42 if [ -e $listpath/ToDo-$table-$column.txt ] … … 86 76 outpath=`dirname $outfile` 87 77 echo "outpath:"$outpath 88 if [ ! -d $outpath ] 89 then 90 mkdir -pv $outpath 91 if [ ! -d $outpath ] 92 then 93 echo "could not make outpath "$outpath 94 continue 95 fi 96 fi 78 makedir $outpath 79 97 80 timecorrpath=$outpath"/timecorrlogs" 98 81 echo "timecorrpath: "$timecorrpath 99 if [ ! -d $timecorrpath ] 100 then 101 mkdir -pv $timecorrpath 102 if [ ! -d $timecorrpath ] 103 then 104 echo "could not make timecorrpath "$timecorrpath 105 continue 106 fi 107 fi 82 make dir $timecorrpath 108 83 109 84 check1=0 … … 117 92 setstatuspath=$logpath/setstatus/correct_raw_time/$no 118 93 echo "setstatuspath: "$setstatuspath 119 if [ ! -d $setstatuspath ] 120 then 121 mkdir -pv $setstatuspath 122 if [ ! -d $setstatuspath ] 123 then 124 echo "could not make setstatuspath $setstatuspath -> continue " 125 continue 126 fi 127 fi 94 makedir $setstatuspath 95 128 96 check2=`root -q -b $macrospath/setstatus.C+\("\"$run\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\) | tee $setstatuspath/setstatus-correct_raw_time-$run.log | grep int | sed -e 's/(int)//'` 129 97 case $check2 in
Note:
See TracChangeset
for help on using the changeset viewer.