Ignore:
Timestamp:
07/29/05 23:13:12 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/datacenter/scripts
Files:
14 edited

Legend:

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

    r7213 r7232  
    8383
    8484echo "getting list..." >> $scriptlog 2>&1
    85 check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\) | tee $getstatus.log | grep int | sed -e 's/(int)//'`
     85check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\,"\"$listpath\""\) | tee $getstatus.log | grep int | sed -e 's/(int)//'`
    8686
    8787case $check0 in
     
    117117      fi
    118118   fi
    119    check1=`root -q -b $macrospath/buildsequenceentries.C+\("\"$date\""\,kFALSE\) | tee $buildsequentriespath/buildsequenceentries-$date.log | grep int | sed -e 's/(int)//'`
     119   check1=`root -q -b $macrospath/buildsequenceentries.C+\("\"$date\""\,"\"$datapath\""\,"\"$sequpath\""\,kFALSE\) | tee $buildsequentriespath/buildsequenceentries-$date.log | grep int | sed -e 's/(int)//'`
    120120
    121121   case $check1 in
  • trunk/MagicSoft/Mars/datacenter/scripts/checkfilesforsequenceavail

    r7213 r7232  
    7474
    7575echo "getting list..." >> $scriptlog 2>&1
    76 check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\) | tee $getstatuslog | grep int | sed -e 's/(int)//'`
     76check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\,"\"$listpath\""\) | tee $getstatuslog | grep int | sed -e 's/(int)//'`
    7777
    7878case $check0 in
  • trunk/MagicSoft/Mars/datacenter/scripts/checkstardone

    r7213 r7232  
    7575
    7676echo "getting list..." >> $scriptlog 2>&1
    77 check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\) | tee $getstatuslog | grep int | sed -e 's/(int)//'`
     77check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\,"\"$listpath\""\) | tee $getstatuslog | grep int | sed -e 's/(int)//'`
    7878
    7979case $check0 in
     
    9999   no=`printf %08d $dataset | cut -c 0-5`
    100100   echo "checking files for dataset $dataset..." >> $scriptlog 2>&1
    101    datasetfile=/magic/datasets/$no/dataset`printf %08d $dataset`.txt
     101   datasetfile=$datasetpath/$no/dataset`printf %08d $dataset`.txt
    102102   sequences=(`cat $datasetfile | grep Sequences | sed -e 's/SequencesOn://g' | sed -e 's/SequencesOff://g'`)
    103103   
  • trunk/MagicSoft/Mars/datacenter/scripts/correcttime

    r7213 r7232  
    5959
    6060echo "getting list..."
    61 check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\) | tee $getstatuslog | grep int | sed -e 's/(int)//'`
     61check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\,"\"$listpath\""\) | tee $getstatuslog | grep int | sed -e 's/(int)//'`
    6262
    6363case $check0 in
  • trunk/MagicSoft/Mars/datacenter/scripts/doexclusions

    r7213 r7232  
    8383
    8484echo "getting list..." >> $scriptlog 2>&1
    85 check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\) | tee $getstatuslog | grep int | sed -e 's/(int)//'`
     85check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\,"\"$listpath\""\) | tee $getstatuslog | grep int | sed -e 's/(int)//'`
    8686
    8787case $check0 in
  • trunk/MagicSoft/Mars/datacenter/scripts/filesondisk

    r7213 r7232  
    8585
    8686echo "checking missing cacofiles..."
    87 check1=`root -q -b $macrospath/findcacofiles.C+\("\"$date\""\) | tee $filesondisklogpath/findcacofiles-$date.log | grep int | sed -e 's/(int)//'`
     87check1=`root -q -b $macrospath/findcacofiles.C+\("\"$date\""\,"\"$filesondisklogpath\""\) | tee $filesondisklogpath/findcacofiles-$date.log | grep int | sed -e 's/(int)//'`
    8888
    8989case $check1 in
  • trunk/MagicSoft/Mars/datacenter/scripts/fillcallisto

    r7213 r7232  
    8383
    8484echo "getting list..." >> $scriptlog 2>&1
    85 check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\) | tee $getstatuslog | grep int | sed -e 's/(int)//'`
     85check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\,"\"$listpath\""\) | tee $getstatuslog | grep int | sed -e 's/(int)//'`
    8686
    8787case $check0 in
  • trunk/MagicSoft/Mars/datacenter/scripts/fillstar

    r7213 r7232  
    8383
    8484echo "getting list..." >> $scriptlog 2>&1
    85 check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\) | tee $getstatuslog | grep int | sed -e 's/(int)//'`
     85check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\,"\"$listpath\""\) | tee $getstatuslog | grep int | sed -e 's/(int)//'`
    8686
    8787case $check0 in
  • trunk/MagicSoft/Mars/datacenter/scripts/insertdatasets

    r7213 r7232  
    6464
    6565
    66 datasetfiles=(`ls /magic/datasets/*/*`)
     66datasetfiles=(`ls $datasetpath/*/*`)
    6767echo "datasetfiles: "${datasetfiles[@]}  >> $scriptlog 2>&1
    6868echo "" >> $scriptlog 2>&1
  • trunk/MagicSoft/Mars/datacenter/scripts/runcallisto

    r7213 r7232  
    3232set -C
    3333
    34 callistorcnew=/magic/datacenter/setup/callisto/callisto.rc
     34callistorcnew=$setuppath/callisto/callisto.rc
    3535
    3636table=SequenceProcessStatus
     
    9595   
    9696   echo "getting list..." >> $scriptlog 2>&1
    97    check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\) | tee $getstatuslog | grep int | sed -e 's/(int)//'`
     97   check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\,"\"$listpath\""\) | tee $getstatuslog | grep int | sed -e 's/(int)//'`
    9898   
    9999   case $check0 in
     
    187187    fi
    188188  fi
    189   sequfile="/magic/sequences/$no/sequence$no2.txt"
     189  sequfile="$sequpath/$no/sequence$no2.txt"
    190190  echo "sequfile: "$sequfile >> $scriptlog 2>&1
    191191 
  • trunk/MagicSoft/Mars/datacenter/scripts/runganymed

    r7213 r7232  
    9090else
    9191   echo "getting list..." >> $scriptlog 2>&1
    92    check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\) | tee $getstatuslog | grep int | sed -e 's/(int)//'`
     92   check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\,"\"$listpath\""\) | tee $getstatuslog | grep int | sed -e 's/(int)//'`
    9393   
    9494   case $check0 in
     
    181181    fi
    182182  fi
    183   datasetfile="/magic/datasets/$no/dataset$no2.txt"
     183  datasetfile="$datasetpath/$no/dataset$no2.txt"
    184184  echo "datasetfile: "$datasetfile >> $scriptlog 2>&1
    185185  wobble=`grep 'WobbleMode:' $datasetfile` >> $scriptlog 2>&1
     
    191191     mode="onoff" >> $scriptlog 2>&1
    192192  fi
    193   ganymedrc=/magic/datacenter/setup/ganymed/ganymed_$mode.rc
     193  ganymedrc=$setuppath/ganymed/ganymed_$mode.rc
    194194 
    195195  echo "run ganymed..." >> $scriptlog 2>&1
  • trunk/MagicSoft/Mars/datacenter/scripts/runstar

    r7213 r7232  
    9090else
    9191   echo "getting list..." >> $scriptlog 2>&1
    92    check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\) | tee $getstatuslog | grep int | sed -e 's/(int)//'`
     92   check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\,"\"$listpath\""\) | tee $getstatuslog | grep int | sed -e 's/(int)//'`
    9393   
    9494   case $check0 in
     
    184184    fi
    185185  fi
    186   sequfile="/magic/sequences/$no/sequence$no2.txt"
     186  sequfile="$sequpath/$no/sequence$no2.txt"
    187187  echo "sequfile: "$sequfile >> $scriptlog 2>&1
    188188 
  • trunk/MagicSoft/Mars/datacenter/scripts/sourcefile

    r7106 r7232  
    3535scriptspath=$mars/datacenter/scripts
    3636
     37logpath=/magic/datacenter/autologs
    3738lockpath=/magic/datacenter/locks
    3839listpath=/magic/datacenter/lists
    39 logpath=/magic/datacenter/autologs
     40setuppath=/magic/datacenter/setup
     41
    4042datapath=/magic/data
     43subsystempath=/magic/subsystemdata
     44sequpath=/magic/sequences
     45datasetpath=/magic/datasets
    4146
  • trunk/MagicSoft/Mars/datacenter/scripts/writesequencefiles

    r7213 r7232  
    8383
    8484echo "getting list..." >> $scriptlog 2>&1
    85 check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\) | tee $getstatuslog | grep int | sed -e 's/(int)//'`
     85check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\,"\"$listpath\""\) | tee $getstatuslog | grep int | sed -e 's/(int)//'`
    8686
    8787case $check0 in
     
    107107   no=`printf %08d $sequence | cut -c 0-4`
    108108   no2=`printf %08d $sequence`
    109    sequencepath=/magic/sequences/$no
     109   sequencepath=$sequpath/$no
    110110   if [ ! -d $sequencepath ]
    111111   then
     
    131131
    132132   echo "write sequencefile for sequence $sequence" >> $scriptlog 2>&1
    133    check2=`root -q -b $macrospath/writesequencefile.C+\($sequence\) | tee $writesequencefilelogpath/writesequencefile-$no2.log | grep int | sed -e 's/(int)//'`
     133   check2=`root -q -b $macrospath/writesequencefile.C+\($sequence\,"\"$sequpath\""\) | tee $writesequencefilelogpath/writesequencefile-$no2.log | grep int | sed -e 's/(int)//'`
    134134   case $check2 in
    135135      1)   echo "check2=$check2 -> everthing ok " >> $scriptlog 2>&1
Note: See TracChangeset for help on using the changeset viewer.