Skip to content

Commit

Permalink
Merge pull request #356 from datamade/data-pipeline
Browse files Browse the repository at this point in the history
Data pipeline
  • Loading branch information
reginafcompton authored Oct 16, 2018
2 parents 9b53370 + 14e9495 commit bbc3e18
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file modified configs/settings_deployment_production.py.gpg
Binary file not shown.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
psycopg2==2.7.1
django-councilmatic==0.10.8
django-councilmatic==0.10.9
django-debug-toolbar==1.9.1
raven==5.30.0
gunicorn==19.6.0
Expand Down
2 changes: 1 addition & 1 deletion scripts/lametro-crontasks
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# /etc/cron.d/lametro-crontasks
APPDIR=/home/datamade/lametro
PYTHONDIR=/home/datamade/.virtualenvs/lametro/bin/python
10,25,40,55 * * * * datamade /usr/bin/flock -n /tmp/lametro_dataload.lock -c 'cd $APPDIR && $PYTHONDIR manage.py import_data >> /var/log/councilmatic/lametro-importdata.log 2>&1 && $PYTHONDIR manage.py compile_pdfs >> /var/log/councilmatic/lametro-compilepdfs.log 2>&1 && $PYTHONDIR manage.py convert_attachment_text >> /var/log/councilmatic/lametro-convertattachments.log 2>&1 && $PYTHONDIR manage.py update_index --batch-size=100 --age=1 >> /var/log/councilmatic/lametro-updateindex.log 2>&1 && $PYTHONDIR manage.py data_integrity >> /var/log/councilmatic/lametro-integrity.log 2>&1'
10,25,40,55 * * * * datamade /usr/bin/flock -n /tmp/lametro_dataload.lock -c 'cd $APPDIR && $PYTHONDIR manage.py import_data >> /var/log/councilmatic/lametro-importdata.log 2>&1 && $PYTHONDIR manage.py refresh_pic >> /var/log/councilmatic/lametro-refreshpic.log 2>&1 && $PYTHONDIR manage.py compile_pdfs >> /var/log/councilmatic/lametro-compilepdfs.log 2>&1 && $PYTHONDIR manage.py convert_attachment_text >> /var/log/councilmatic/lametro-convertattachments.log 2>&1 && $PYTHONDIR manage.py update_index --batch-size=100 --age=1 >> /var/log/councilmatic/lametro-updateindex.log 2>&1 && $PYTHONDIR manage.py data_integrity >> /var/log/councilmatic/lametro-integrity.log 2>&1'

0 comments on commit bbc3e18

Please sign in to comment.