Changeset 278 for cpc/trunk/project/bin


Ignore:
Timestamp:
Aug 19, 2009, 11:59:25 AM (12 years ago)
Author:
roux
Message:

données reparsées avec bons amendements

File:
1 edited

Legend:

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

    r246 r278  
    1 #!/bin/bash
     1
     2echo Reload base
     3php symfony cc
     4php symfony doctrine-build-all-reload
     5bash bin/loadsql
    26
    37echo Parse Amendements
    48echo > /tmp/load_amendements.log
    59cd batch/amendements
     10tar xf lastdata.tar.gz
     11tar xf html.tar.gz
    612# rm -f xml/*
    713# perl parse_amendements.pl >> /tmp/load_amendements.log
    814cd -
    915php symfony cc
    10 for file in $(ls batch/amendements/xml)
     16for file in $(ls ../batch_work/amendements/xml)
    1117do
    1218    echo $file
    13     cp batch/amendements/xml/$file batch/amendements/input/
     19    cp ../batch_work/amendements/xml/$file batch/amendements/input/
    1420    php symfony load:Amdmts >> /tmp/load_amendements.log
    1521    php symfony cc
Note: See TracChangeset for help on using the changeset viewer.