Ignore:
Timestamp:
02/03/06 10:35:02 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/datacenter/scripts
Files:
2 edited

Legend:

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

    r7469 r7474  
    217217             if [ "$cacofile" = "" ]
    218218             then
    219                 echo "no cacofile found for run "$runno >> $scriptlog 2>&1
     219                echo "cacofile with no $runno not found" >> $scriptlog 2>&1
    220220                echo "finding cacofile..." >> $scriptlog 2>&1
    221221                for (( i = 0; i <= 10; i++ ))
     
    229229                   if [ "$cacofile" = "" ]
    230230                   then
     231                      if [ $i -eq 9 ]
     232                      then
     233                         echo "no cacofile found" >> $scriptlog 2>&1
     234                         com="no cacofile for run $runno"
     235                         check=0
     236                      fi   
    231237                      continue
    232238                   else
     
    235241                   fi
    236242                done
    237                 echo "no cacofile found" >> $scriptlog 2>&1
    238                 com="no cacofile for run $runno"
    239                 check=0
    240                 break
    241243             fi
    242244             ./merpp -u --log=$merpplogpath/merppccupdate$runno.log --html=$merpplogpath/merppccupdate$runno.html --auto-time-stop --runfile=$runno $ccfile $calfile 2>> $scriptlog> /dev/null
  • trunk/MagicSoft/Mars/datacenter/scripts/sourcefile

    r7473 r7474  
    4747datasetpath=/magic/datasets
    4848
     49check="ok"
     50
    4951
    5052function makedir()
     
    9294       stop)   echo "stop"
    9395               case $check in
    94                   0)  echo " ok"
     96                 ok)  echo " ok"
    9597                      statustime="Now()"
    9698                      ;;
     
    107109               ;;
    108110   esac
    109    check=
    110111
    111112#   printstatusvalues
     
    116117   checkstatus=`root -q -b $macrospath/setstatus.C+\("\"$sequence\""\,"\"$table\""\,"\"$column\""\,"\"$statustime\""\,"\"$failedcode\""\,"\"$failedcomment\""\,"\"$starttime\""\,"\"$failedtime\""\) | tee $setstatuslog | grep int | sed -e 's/(int)//'`
    117118   case $checkstatus in
    118       1)   echo "checkstatus=$checkstatus -> everything ok, status has been set"
    119       *)   echo "checkstatus=$checkstatus -> ERROR -> step could not be set"
     119      1)   echo "checkstatus=$checkstatus -> everything ok, status has been set";;
     120      *)   echo "checkstatus=$checkstatus -> ERROR -> step could not be set";;
    120121   esac
    121122}
Note: See TracChangeset for help on using the changeset viewer.