Ignore:
Timestamp:
11/11/08 10:38:56 (16 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r9144 r9147  
    124124      pquery=" select fRunNumber from MCRunProcessStatus where fFileName=\"$pedfile\" "
    125125     
    126       crun=`mysql -ss -u $user --password=$pw --host=vela $db -e " $cquery "`
    127       prun=`mysql -ss -u $user --password=$pw --host=vela $db -e " $pquery "`
     126      crun=`mysql -ss -u $user --password=$pw --host=$ho $db -e " $cquery "`
     127      prun=`mysql -ss -u $user --password=$pw --host=$ho $db -e " $pquery "`
    128128      cnum=`printf %08d $crun`
    129129      pnum=`printf %08d $prun`
     
    150150            echo "P run already there, do mysql update" >> $scriptlog 2>&1
    151151   #         continue
    152             mysql -ss -u $user --password=$pw --host=vela $db -e " $pupdate "
     152            mysql -ss -u $user --password=$pw --host=$ho $db -e " $pupdate "
    153153         else
    154154            echo "linking P run for epoch $epo" >> $scriptlog 2>&1
    155155            ln -sv $pedfile $newpedfile >> $scriptlog 2>&1
    156             mysql -ss -u $user --password=$pw --host=vela $db -e " $pupdate "
     156            mysql -ss -u $user --password=$pw --host=$ho $db -e " $pupdate "
    157157         fi
    158158         
     
    161161            echo "C run already there, do mysql update" >> $scriptlog 2>&1
    162162   #         continue
    163             mysql -ss -u $user --password=$pw --host=vela $db -e " $cupdate "
     163            mysql -ss -u $user --password=$pw --host=$ho $db -e " $cupdate "
    164164         else
    165165            echo "linking C run for epoch $epo" >> $scriptlog 2>&1
    166166            ln -sv $calfile $newcalfile >> $scriptlog 2>&1
    167             mysql -ss -u $user --password=$pw --host=vela $db -e " $cupdate "
     167            mysql -ss -u $user --password=$pw --host=$ho $db -e " $cupdate "
    168168         fi
    169169   
Note: See TracChangeset for help on using the changeset viewer.