Changeset 801 for cpc/trunk/project/bin


Ignore:
Timestamp:
Sep 27, 2009, 11:56:33 PM (12 years ago)
Author:
roux
Message:

oubli

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/bin/load_amendements

    r279 r801  
    33echo > /tmp/load_amendements.log
    44cd batch/amendements
    5 tar xf lastdata.tar.gz
    6 tar xf html.tar.gz
    7 # rm -f xml/*
    8 # perl parse_amendements.pl >> /tmp/load_amendements.log
     5# rm -f html/*
     6# bash download_amendements.sh >> /tmp/load_amendements.log
     7# rm -f json/*
     8# bash parse_amendements.sh >> /tmp/load_amendements.log
    99cd -
    1010php symfony cc
    11 for file in $(ls batch/amendements/xml)
     11for file in $(ls batch/amendements/json)
    1212do
    1313    echo $file
    14     cp batch/amendements/xml/$file batch/amendements/input/
     14    cp batch/amendements/json/$file batch/amendements/input/
    1515    php symfony load:Amdmts >> /tmp/load_amendements.log
    1616    php symfony cc
Note: See TracChangeset for help on using the changeset viewer.