Changeset 937:802e52d68629


Ignore:
Timestamp:
03/28/13 12:46:15 (4 years ago)
Author:
Babis Nikolaou <charnik@…>
Branch:
default
Children:
944:e197d4742126, 948:c7e4d63ef1ab
Message:

minor changes in runChain script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/teleios/runChain.sh

    r933 r937  
    1717# If tomcat is standalone then environment variable TOMCATPATH should be set 
    1818 
    19 # Example run command: examples/teleios/runChain.sh -b http://dev.strabon.di.uoa.gr/rdf/data-dump-postgres-9.tgz  -l /home/ggarbis/runChain.log -e http://pathway.di.uoa.gr:8080/endpoint 
     19# Example run command: examples/teleios/runChain.sh -b http://dev.strabon.di.uoa.gr/rdf/data-dump-postgres-9.tgz  -l ${HOME}/runChain.log -e http://pathway.di.uoa.gr:8080/endpoint 
    2020 
    2121# Command name 
     
    191191                rm /tmp/bgFiles$$.sql 
    192192        else 
    193                 echo "Backgound file not foung" 
     193                echo "Backgound file not found" 
    194194                exit -1 
    195195        fi 
     
    258258#                                 ./examples/teleios/data/data-dump-9.sql 
    259259bgFile="http://dev.strabon.di.uoa.gr/rdf/data-dump-9.sql" 
    260 logFile="/home/ggarbis/runChain.log" 
     260logFile="${HOME}/runChain.log" 
    261261 
    262262chain="DynamicThresholds" 
     
    326326 
    327327echo > ${logFile} 
    328 echo 2222 
    329328instantiate=${loc}/instantiate.sh 
    330329 
    331330#Initialize (stop tomcat, restart postgres, drop/create database, start tomcat) 
    332 echo 111 
    333331handleTomcatService stop 
    334332handlePostgresService restart 
     
    347345#exit -1 
    348346echo "Timestamp Store Municipalities DeleteInSea InvalidForFires RefineInCoast TimePersistence DiscoverHotspots" > ${logFile} 
    349 echo > /home/ggarbis/discoverFires.log 
    350 echo > /home/ggarbis/discover.log 
     347echo > ${HOME}/discoverFires.log 
     348echo > ${HOME}/discover.log 
    351349 
    352350years="2012" #"2007 2008 2010 2011" 
     
    414412                update="`${instantiate} -t ${timestamp} -c ${chain} -s ${sensor} -m ${minTime} ${loc}/refineTimePersistence.rq`" 
    415413#       echo "Refine Time Persistence: ${update}" ; read t 
    416                 handleStrabonEndpoint ${endpoint} update "${update}" #2>&1 | tee /home/ggarbis/timePersistence.log 
     414                handleStrabonEndpoint ${endpoint} update "${update}" #2>&1 | tee ${HOME}/timePersistence.log 
    417415 
    418416                #psql -U postgres -d ${DB} -c 'VACUUM ANALYZE;'; 
     
    423421        query="`${instantiate} -c ${chain} -s ${sensor} -m ${minTime} -M ${maxTime} ${loc}/discover.rq`" 
    424422#        echo "Discover: ${query}" ; #read t 
    425                 handleStrabonEndpoint ${endpoint} query "${query}" &>> /home/ggarbis/discover.log 
     423                handleStrabonEndpoint ${endpoint} query "${query}" &>> ${HOME}/discover.log 
    426424#     
    427425#               # Discover Fires 
     
    430428#        query="`${instantiate} -c ${chain} -s ${sensor} -m ${minTime} -M ${maxTime} -p 10 -r 3 ${loc}/discoverFires.rq`" 
    431429##        echo "Discover Fires: ${query}" ; #read t 
    432 #               handleStrabonEndpoint ${endpoint} query "${query}" &>> /home/ggarbis/discoverFires.log 
     430#               handleStrabonEndpoint ${endpoint} query "${query}" &>> ${HOME}/discoverFires.log 
    433431 
    434432                # Add a new line 
Note: See TracChangeset for help on using the changeset viewer.