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.
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.