jbyman / CrisisConnector

Help Directory project for the COVID-19 hackathon
Apache License 2.0
1 stars 1 forks source link

Cron Script #63

Closed jbyman closed 4 years ago

jbyman commented 4 years ago

This creates an endpoint, along with a script to hit that endpoint, to update the list of organizations from our data source.

This will also be added to our EC2 instance's crontab file:

0 11 * * 0 docker exec -it covid-hackathon_web_1 python3 update_orgs.py # Run script to update orgs every Sunday at 11am