Changeset 4961 for TI01-discovery


Ignore:
Timestamp:
12/02/09 17:20:13 (10 years ago)
Author:
sdonegan
Message:

sorted bug with paths in production version.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI01-discovery/tags/stable-TI01-ingestAutomation_Proglue_upgradesAndReporting/temp/OAIBatch/run_all_ingest.py

    r4956 r4961  
    2020 
    2121 
    22 current_dir = os.getcwd() + "/"# this is the base dir that the script is ran from 
     22#this hardwired to proglue BADC usage ops 
     23current_dir = "/usr/local/WSClientsIngestUpdate/stable-TI01-ingestAutomation_Proglue_upgradesAndReporting/temp/OAIBatch/"# this is the base dir that the script is ran from 
    2324logging.info("Running ingest script for all config files in the current run directory (%s)" %current_dir) 
    2425 
    2526#create file for summary report on all ingests - hardwired for production use on PROGLUE!!! 
    26 summaryFileName = "/usr/local/WSClientsIngestUpdate/stable-TI01-ingestAutomation_Proglue_upgradesAndReporting/temp/OAIBatch/data/runAllIngestSummary.txt" 
     27summaryFileName = current_dir + "data/runAllIngestSummary.txt" 
    2728logging.warn("NOTE: Using " + summaryFileName + "if not running as user BADC in production change THIS!!")         
    2829summaryFile = open(summaryFileName,'w')             
     
    5859                 
    5960            #summarise harvest info from report doc now produced by ingester program 
    60             recOpFileName = "/usr/local/WSClientsIngestUpdate/stable-TI01-ingestAutomation_Proglue_upgradesAndReporting/temp/OAIBatch/data/" + datacentre + "_ingestSummary.txt" 
     61            recOpFileName = current_dir + "data/" + datacentre + "_ingestSummary.txt" 
    6162             
    6263            try: 
Note: See TracChangeset for help on using the changeset viewer.