All of our scripts will be run periodically.
TBD:
- Decide on an interval,
- Decide on a time window—roughly the period for which the survey is open.
Acceptance criteria:
- crontab -e on the server to set up the jobs.
- Watch to see that they run once (can be at an artificial time).
- Check that cron error emails will get to us.
- Output files should be web-accessible.
- Run audit-eligibility.py
- Run audit-votes.py
- Run permutate.py
Implementation
0 6 * * * /usr/bin/jsub -N cron-32 -once -quiet /data/project/technischewuensche/run-audits.sh
The run-audits.sh shell script will call out to each of our scripts, and copy any public outputs into the web directory.