Changeset 7265 for trunk/MagicSoft/Mars/datacenter/scripts/doexclusions
- Timestamp:
- 08/05/05 18:33:55 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/doexclusions
r7233 r7265 42 42 todofile=$listpath/ToDo-$table-$column.txt 43 43 getstatuslogpath=$logpath/getstatus/doexclusions/$year 44 getstatuslog=$getstatuslogpath/getstatus-doexclu dions-$datetime.log44 getstatuslog=$getstatuslogpath/getstatus-doexclusions-$datetime.log 45 45 46 46 scriptlogpath=$logpath/run/doexclusions/`date +%Y/%m` … … 58 58 0) echo "checklock0=$checklock0 -> continue " >> $scriptlog 2>&1;; 59 59 1) echo "checklock0=$checklock0 -> file exists " >> $scriptlog 2>&1 60 echo "-> getting list for callistois running -> exit" >> $scriptlog 2>&160 echo "-> getting list for doexclusions is running -> exit" >> $scriptlog 2>&1 61 61 date >> $scriptlog 2>&1 62 62 exit;; … … 69 69 70 70 case $check0 in 71 1) echo "check0=$check0 -> ever thing ok -> do step" >> $scriptlog 2>&1;;71 1) echo "check0=$check0 -> everything ok -> do step" >> $scriptlog 2>&1;; 72 72 *) echo "check0=$check0 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1;; 73 73 esac … … 88 88 for date in ${dates[@]} 89 89 do 90 echo "do exclusions for date "$date 90 echo "do exclusions for date "$date >> $scriptlog 2>&1 91 91 year2=`echo $date | cut -c 1-4` 92 92 doexclusionspath=$logpath/doexclusions/$year2 … … 96 96 97 97 case $check1 in 98 1) echo "check1= 1 -> everthing ok -> setting status..."98 1) echo "check1=$check1 -> everything ok -> setting status..." >> $scriptlog 2>&1 99 99 setstatuslogpath=$logpath/setstatus/doexclusions/$year2 100 100 makedir $setstatuslogpath >> $scriptlog 2>&1 … … 103 103 104 104 case $check2 in 105 1) echo "check2=$check2 -> ever thing ok, status has been set";;106 *) echo "check2=$check2 -> ERROR -> step could not be set" ;;105 1) echo "check2=$check2 -> everything ok, status has been set" >> $scriptlog 2>&1 ;; 106 *) echo "check2=$check2 -> ERROR -> step could not be set" >> $scriptlog 2>&1 ;; 107 107 esac 108 108 ;; 109 *) echo "check1=$check1 -> ERROR -> step has to be repeated" ;;109 *) echo "check1=$check1 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1 ;; 110 110 esac 111 111 done
Note:
See TracChangeset
for help on using the changeset viewer.