Changeset 278 for cpc/trunk/project/bin
- Timestamp:
- Aug 19, 2009, 11:59:25 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpc/trunk/project/bin/load_amendements
r246 r278 1 #!/bin/bash 1 2 echo Reload base 3 php symfony cc 4 php symfony doctrine-build-all-reload 5 bash bin/loadsql 2 6 3 7 echo Parse Amendements 4 8 echo > /tmp/load_amendements.log 5 9 cd batch/amendements 10 tar xf lastdata.tar.gz 11 tar xf html.tar.gz 6 12 # rm -f xml/* 7 13 # perl parse_amendements.pl >> /tmp/load_amendements.log 8 14 cd - 9 15 php symfony cc 10 for file in $(ls batch/amendements/xml)16 for file in $(ls ../batch_work/amendements/xml) 11 17 do 12 18 echo $file 13 cp batch/amendements/xml/$file batch/amendements/input/19 cp ../batch_work/amendements/xml/$file batch/amendements/input/ 14 20 php symfony load:Amdmts >> /tmp/load_amendements.log 15 21 php symfony cc
Note: See TracChangeset
for help on using the changeset viewer.