Skip to content

Commit

Permalink
Merge pull request #33 from dimagi/ce/location-command
Browse files Browse the repository at this point in the history
separate command for locations
  • Loading branch information
calellowitz authored Mar 17, 2020
2 parents a8f230f + 80d1ea2 commit 16bab4c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dags/dashboard_subdags.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ def generate_uuid():

update_aggregate_locations_tables = BashOperator(
task_id='update_aggregate_locations_tables',
bash_command=run_query_template,
params={'query': 'update_aggregate_locations_tables'},
bash_command= """cd {{ var.value.CCHQ_HOME }}; {{ var.value.CCHQ_PY_ENV }}/bin/python {{ var.value.CCHQ_HOME }}/manage.py update_location_tables {{ ti.xcom_pull('get_uuid') }}""",
dag=monthly_dag
)

Expand Down

0 comments on commit 16bab4c

Please sign in to comment.