ansible-role-mariadb/tasks/cron.yml

6 lines
213 B
YAML

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