Changeset 7480 for trunk/MagicSoft


Ignore:
Timestamp:
02/06/06 19:23:46 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r7479 r7480  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20 2006/02/03 Daniela Dorner
     21
     22   * datacenter/scripts/fillstar, macros/setstatus.C, getdolist.C:
     23     - fixed bugs
     24
     25
     26
    2027 2006/02/03 Daniela Dorner
    2128
  • trunk/MagicSoft/Mars/datacenter/macros/getdolist.C

    r7475 r7480  
    130130                    rc.GetValue(table+".TimerTable", ""),
    131131                    rc.GetValue(table+".Primary", ""));
    132     query+=Form(" WHERE ISNULL(%s) AND ISNULL(fFailedCode) AND fFailedComment='NULL' AND ISNULL(fStartTime) AND ISNULL(fFailedTime) ", column.Data());
     132    query+=Form(" WHERE ISNULL(%s) AND ISNULL(fFailedCode) AND ISNULL(fFailedComment) AND ISNULL(fStartTime) AND ISNULL(fFailedTime) ", column.Data());
    133133
    134134    TIter Next(&l);
  • trunk/MagicSoft/Mars/datacenter/macros/setstatus.C

    r7469 r7480  
    123123    TString influences  = rc.GetValue(table+"."+column+".Influences", "");
    124124
    125     TString query(Form("UPDATE %s SET %s=%s, fFailedCode=%s, fFailedComment='%s', fFailedTime=%s ",
     125    TString query(Form("UPDATE %s SET %s=%s, fFailedCode=%s, fFailedComment=%s, fFailedTime=%s ",
    126126                       table.Data(), column.Data(), statustime.Data(), failedcode.Data(),
    127127                       failedcomment.Data(), failedtime.Data()));
  • trunk/MagicSoft/Mars/datacenter/scripts/fillstar

    r7476 r7480  
    9191   starfile=$path/star$no2.root
    9292   fillstarlogpath=$logpath/$program/$no
    93    echo "$programlogpath: "$fillstarlogpath >> $scriptlog 2>&1
     93   echo "fillstarlogpath: "$fillstarlogpath >> $scriptlog 2>&1
    9494   makedir $fillstarlogpath >> $scriptlog 2>&1
    9595   fillstarlog=$fillstarlogpath/$program-$sequence.log
     
    101101   case $check2 in
    102102      1)   echo "check2=$check2 -> everything ok " >> $scriptlog 2>&1 ;;
    103       *)   echo "check2=$check2 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1;;
     103      *)   echo "check2=$check2 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1
    104104           com="fillstar for sequence $sequence failed"
    105105           check=$check2
Note: See TracChangeset for help on using the changeset viewer.