Changeset 7282


Ignore:
Timestamp:
08/11/05 01:17:28 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r7265 r7282  
    5656cd $mars
    5757
    58 date > $lockpath/lock-getting-callisto-list.txt >> $scriptlog 2>&1
    59 checklock0=$?
    60 case $checklock0 in
    61     0)   echo "checklock0=$checklock0 -> continue " >> $scriptlog 2>&1;;
    62     1)   echo "checklock0=$checklock0 -> file exists " >> $scriptlog 2>&1
    63          echo "-> getting list for callisto is running -> exit" >> $scriptlog 2>&1
    64          date  >> $scriptlog 2>&1
    65          exit;;
    66     *)   echo "checklock0=$checklock0 -> something went completely wrong" >> $scriptlog 2>&1;;
    67 esac
    68 
    6958echo "checking if other todo-files are there" >> $scriptlog 2>&1
    7059if  ls $todofile-[1-9]*.txt >> $scriptlog 2>&1
     
    7362   echo " -> choose one file and start calibrating" >> $scriptlog 2>&1
    7463else
     64   date > $lockpath/lock-getting-callisto-list.txt >> $scriptlog 2>&1
     65   checklock0=$?
     66   case $checklock0 in
     67       0)   echo "checklock0=$checklock0 -> continue " >> $scriptlog 2>&1;;
     68       1)   echo "checklock0=$checklock0 -> file exists " >> $scriptlog 2>&1
     69            echo "-> getting list for callisto is running -> exit" >> $scriptlog 2>&1
     70            date  >> $scriptlog 2>&1
     71            exit;;
     72       *)   echo "checklock0=$checklock0 -> something went completely wrong" >> $scriptlog 2>&1;;
     73   esac
     74
    7575   echo "getting list..." >> $scriptlog 2>&1
    7676   check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\,"\"$listpath\""\) | tee $getstatuslog | grep int | sed -e 's/(int)//'`
     
    8080       *)   echo "check0=$check0 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1;;
    8181   esac
     82   rm -v $lockpath/lock-getting-callisto-list.txt >> $scriptlog 2>&1
    8283fi
    8384
    84 rm -v $lockpath/lock-getting-callisto-list.txt >> $scriptlog 2>&1
    8585
    8686nr=bla
    8787echo "finding the right todo-file" >> $scriptlog 2>&1
    88 todofiles=`ls $listpath/ToDo-$table-$column-*`
     88todofiles=`ls -r $listpath/ToDo-$table-$column-*`
    8989
    9090echo "todofiles: "${todofiles[@]} >> $scriptlog 2>&1
Note: See TracChangeset for help on using the changeset viewer.