Changeset 7233 for trunk/MagicSoft/Mars/datacenter/scripts/fillcallisto
- Timestamp:
- 07/30/05 01:15:40 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/fillcallisto
r7232 r7233 43 43 44 44 scriptlogpath=$logpath/run/fillcallisto/`date +%Y/%m/%d` 45 if [ ! -d $scriptlogpath ] 46 then 47 mkdir -pv $scriptlogpath 48 if [ ! -d $scriptlogpath ] 49 then 50 echo "could not make scriptlogpath "$scriptlogpath 51 exit 52 fi 53 fi 45 makedir $scriptlogpath 54 46 55 47 scriptlog=$scriptlogpath/runfillcallisto-$datetime.log … … 57 49 date >> $scriptlog 2>&1 58 50 59 60 if [ ! -d $getstatuslogpath ] 61 then 62 mkdir -pv $getstatuslogpath >> $scriptlog 2>&1 63 if [ ! -d $getstatuslogpath ] 64 then 65 echo "could not make getstatuslogpath "$getstatuslogpath >> $scriptlog 2>&1 66 date >> $scriptlog 2>&1 67 exit 68 fi 69 fi 51 makedir $getstatuslogpath >> $scriptlog 2>&1 70 52 71 53 cd $mars … … 112 94 fillcallistologpath=$logpath/fillcallisto/$no 113 95 echo "fillcallistologpath: "$fillcallistologpath >> $scriptlog 2>&1 114 if [ ! -d $fillcallistologpath ] 115 then 116 mkdir -pv $fillcallistologpath >> $scriptlog 2>&1 117 if [ ! -d $fillcallistologpath ] 118 then 119 echo "could not make fillcallistologpath $fillcallistologpath -> continue " >> $scriptlog 2>&1 120 continue 121 fi 122 fi 96 makedir $fillcallistologpath >> $scriptlog 2>&1 123 97 fillcaliblog=$fillcallistologpath/fillcalib-$sequence.log 124 98 fillsignallog=$fillcallistologpath/fillsignal-$sequence.log … … 139 113 echo "-> inserting the status for fillcallisto for sequence $sequence into the db" >> $scriptlog 2>&1 140 114 setstatuslogpath=$logpath/setstatus/fillcallisto/$no 141 if [ ! -d $setstatuslogpath ] 142 then 143 mkdir -pv $setstatuslogpath >> $scriptlog 2>&1 144 if [ ! -d $setstatuslogpath ] 145 then 146 echo "could not make setstatuslogpath "$setstatuslogpath >> $scriptlog 2>&1 147 continue 148 fi 149 fi 115 makedir $setstatuslogpath >> $scriptlog 2>&1 150 116 setstatuslog=$setstatuslogpath/setstatus-fillcallisto 117 151 118 check4=`root -q -b $macrospath/setstatus.C+\("\"$sequence\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\) | tee $setstatuslog-$sequence.log | grep int | sed -e 's/(int)//'` 152 119 case $check4 in
Note:
See TracChangeset
for help on using the changeset viewer.