From 10c3bae14b65ce4a4bcdeeb267b2004cd304b574 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Fri, 1 May 2020 17:16:14 +0000 Subject: [PATCH] commit 5d66f6e5a75c894f85de6b7593b115f1d465fb23 Author: Robert Kaussow Date: Fri May 1 19:14:48 2020 +0200 add custom cronjobs --- index.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/index.md b/index.md index 0b7a4c9..c55ef21 100644 --- a/index.md +++ b/index.md @@ -10,6 +10,7 @@ Configure an [Univention Corporate Server](https://www.univention.com/products/u {{< hint warning >}} **WARNING**\ This role covers only some really basic configurations and is far away production ready. {{< /hint >}} * [Default Variables](#default-variables) + * [ucs_cronjobs](#ucs-cronjobs) * [ucs_custom_tls_apache2_enabled](#ucs-custom-tls-apache2-enabled) * [ucs_custom_tls_dovecot_enabled](#ucs-custom-tls-dovecot-enabled) * [ucs_custom_tls_enabled](#ucs-custom-tls-enabled) @@ -28,6 +29,29 @@ Configure an [Univention Corporate Server](https://www.univention.com/products/u ## Default Variables +### ucs_cronjobs + +#### Default value + +```YAML +ucs_cronjobs: [] +``` + +#### Example usage + +```YAML +ucs_cronjobs: + - name: backup-cleanup + job: "find /var/univention-backup -mtime +7 -delete" + user: root + minute: 0 + hour: 3 + day: "*" + weekday: "*" + month: "*" + state: present +``` + ### ucs_custom_tls_apache2_enabled #### Default value