Ignore:
Timestamp:
08/05/05 18:33:55 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/scripts/doexclusions

    r7233 r7265  
    4242todofile=$listpath/ToDo-$table-$column.txt
    4343getstatuslogpath=$logpath/getstatus/doexclusions/$year
    44 getstatuslog=$getstatuslogpath/getstatus-doexcludions-$datetime.log
     44getstatuslog=$getstatuslogpath/getstatus-doexclusions-$datetime.log
    4545
    4646scriptlogpath=$logpath/run/doexclusions/`date +%Y/%m`
     
    5858    0)   echo "checklock0=$checklock0 -> continue " >> $scriptlog 2>&1;;
    5959    1)   echo "checklock0=$checklock0 -> file exists " >> $scriptlog 2>&1
    60          echo "-> getting list for callisto is running -> exit" >> $scriptlog 2>&1
     60         echo "-> getting list for doexclusions is running -> exit" >> $scriptlog 2>&1
    6161         date  >> $scriptlog 2>&1
    6262         exit;;
     
    6969
    7070case $check0 in
    71    1)   echo "check0=$check0 -> everthing ok -> do step" >> $scriptlog 2>&1;;
     71   1)   echo "check0=$check0 -> everything ok -> do step" >> $scriptlog 2>&1;;
    7272   *)   echo "check0=$check0 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1;;
    7373esac
     
    8888for date in ${dates[@]}
    8989do
    90    echo "do exclusions for date "$date
     90   echo "do exclusions for date "$date >> $scriptlog 2>&1
    9191   year2=`echo $date | cut -c 1-4`
    9292   doexclusionspath=$logpath/doexclusions/$year2
     
    9696
    9797   case $check1 in
    98       1)   echo "check1=1 -> everthing ok -> setting status..."
     98      1)   echo "check1=$check1 -> everything ok -> setting status..." >> $scriptlog 2>&1
    9999           setstatuslogpath=$logpath/setstatus/doexclusions/$year2
    100100           makedir $setstatuslogpath >> $scriptlog 2>&1
     
    103103
    104104           case $check2 in
    105               1)   echo "check2=$check2 -> everthing 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 ;;
    107107           esac
    108108        ;;
    109       *)   echo "check1=$check1 -> ERROR -> step has to be repeated";;
     109      *)   echo "check1=$check1 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1 ;;
    110110   esac
    111111done
Note: See TracChangeset for help on using the changeset viewer.