ansible-role-mariadb/tasks/cron.yml
2023-11-19 13:38:14 +01:00

6 lines
203 B
YAML

---
- name: "Cron | Create cron job for database optimization"
ansible.builtin.cron:
name: 'Database optimization'
job: 'chronic mysqlcheck --all-databases --optimize'
special_time: weekly