Ignore:
Timestamp:
08/11/05 04:54:03 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/datacenter
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/macros/getdolist.C

    r7271 r7284  
    135135        {
    136136            filename=Form("%s/ToDo-%s-%s-%s.txt", listpath.Data(), table.Data(), column.Data(), (*row)[0]);
     137            gSystem->Unlink(filename);
    137138            ofstream fout(filename, ios::app);
    138139            if (!fout)
  • 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.