We need all mediawiki cron jobs to:
- append in a log file under /var/log/mediawiki
- have logrotation
- run cronjobs only in the datacentre where mediawiki is active
- Use a cli wrapper to get the active DC value from conftool locally on disk from the yaml file and uses that to decide whether a "periodic job" should run or not
Right now we have them writing log files, where we only keep logs from their last run.
current plan:
- introduce systemd::timer::job
- introduce profile::mediawiki::periodic_job (includes wrapper to determine active DC)
- first example to convert a cronjob to the new code
- do the same for all other crons -> T273673