Page MenuHomePhabricator

[survey] Set up crontab for survey tools
Closed, ResolvedPublic

Description

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.

Event Timeline

awight updated the task description. (Show Details)
awight updated the task description. (Show Details)
awight moved this task from Doing to Sprint Backlog on the WMDE-TechWish-XMAS-Sprint-2021-12-15 board.

Rough cronjob is in place.

awight moved this task from Todo to Done on the WMDE-TechWish board.
awight updated the task description. (Show Details)