Closed JonEsparaz closed 1 year ago
Actually, I think the issue is with the developer DB dump, not this script. The wca-developer-database-dump.sql
I just pulled was created Thursday, December 29, 2022, 6:11:16 PM:
The code snipped that you pasted is for local run. When creating the statistics locally, we don't download the export again within a week. This issue is in the WCA main website. If the export is not updated, the results here will not be updated as well.
The database export is supposed to be automatically replaced every 7 days:
https://github.com/thewca/statistics/blob/6e5c104801fc57489df25e1b419883c7d991f38c/scripts/get_db_export.sh#L19-L22
But it has not updated since 12/28/2022:
I don't see anything in the code that suggests an issue handling a change in year (I could be wrong). Is there a way to check if the cron is running?