We have a cron job that runs the "payment monitor", a tool that counts all donations during a time frame (for each payment method) and alerts the developers if the count is below a specific threshold. The tool needs a configuration file that sets the thresholds.
Acceptance criteria:
- On every deployment of the Fundraising Operation Center, the deployment playbook copies the current threshold configuration (1st version based on [[ https://github.com/wmde/fundraising-backend/blob/master/paymentMonitor.sample.json | paymentMonitor.sample.json ]]) from the deploy server to the FOC server.
- The cron job for the payment monitor is active.
Notes:
The cron job is in the crontab of the www-data user on backend.wikimedia.de