Open chrismytton opened 8 years ago
How easy would it be to add some sort of webhook-esque functionality to YNR so we don't need to just keep re-polling it?
AFAICT the script which generates the CSVs, which is run once every 15 minutes in a cron job, recreates the CSVs from scratch each time. So I guess we could run a webhook at the end of that script, but it would always run, whether the CSVs had changed or not.
The YNR CSVs are updated every 15 minutes. It would be good to have a process that polled for changes and when it detected a change it updated the CSVs in this repo, which would in turn trigger a rebuild of the site.