Ignore:
Timestamp:
08/11/05 04:54:03 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r7282 r7284  
    7373   esac
    7474
    75    echo "getting list..." >> $scriptlog 2>&1
    76    check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\,"\"$listpath\""\) | tee $getstatuslog | grep int | sed -e 's/(int)//'`
    77    
    78    case $check0 in
    79        1)   echo "check0=$check0 -> everything ok -> run callisto" >> $scriptlog 2>&1;;
    80        *)   echo "check0=$check0 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1;;
    81    esac
     75   if  ls $todofile-[1-9]*.txt >> $scriptlog 2>&1
     76   then
     77      echo "other file(s) on disk " >> $scriptlog 2>&1
     78      echo " -> choose one file and start calibrating" >> $scriptlog 2>&1
     79   else
     80      echo "getting list..." >> $scriptlog 2>&1
     81      check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\,"\"$listpath\""\) | tee $getstatuslog | grep int | sed -e 's/(int)//'`
     82
     83      case $check0 in
     84          1)   echo "check0=$check0 -> everything ok -> run callisto" >> $scriptlog 2>&1;;
     85          *)   echo "check0=$check0 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1;;
     86      esac
     87   fi
    8288   rm -v $lockpath/lock-getting-callisto-list.txt >> $scriptlog 2>&1
    8389fi
Note: See TracChangeset for help on using the changeset viewer.