openoakland / OakCrime-Decommissioned

Code supporting citizen analysis of crime in Oakland, CA
22 stars 16 forks source link

Run harvestSocrata in production #86

Closed adborden closed 5 years ago

adborden commented 5 years ago

Resolves https://github.com/openoakland/OakCrime/issues/65

This get's us running harvestSocrata on production. There are more jobs, but each needs a little bit of love in order to get it running in other environments. In theory, you should just be able to add a line to showCrime/.ebextensions/cron-linux.config to have it run.

The cron config has several drawbacks and ultimately we should move to a worker process using django-celery and scheduling jobs with django-cron.

With the existing setup, you need to log into the aws console to pull the logs.

adborden commented 5 years ago

Added some description to the PR.