HomePhabricator

Manage crontabs using Ansible
153f81aff93eUnpublished

Unpublished Commit · Learn More

Publishing Disabled: All publishing is disabled for this repository.

Description

Manage crontabs using Ansible

We use crontabs to periodically update the database:

  • one nightly update of the entire database
  • one high-frequency update of the most current competition, every fifteen minutes

Crontabs are a pain to manage. Having them under version control
and provisioned by Ansible should hopefully bring some sanity.

Interestingly, the Toolforge environment heavily hacks the crontab
(overriding the crontab executable) but using Ansible Just Works™.

See docs:
https://docs.ansible.com/ansible/2.7/modules/cron_module.html

Details

Provenance
JeanFredAuthored on Nov 17 2018, 12:12 AM
Parents
R1969:38acb1887657: Use Ansible for deployment to Toolforge
Branches
Unknown
Tags
Unknown
ChangeId
None