From 682523f181ed669e6a65005960e5fce347968394 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sat, 1 Aug 2020 19:48:07 +0000 Subject: [PATCH] commit d1cd0b73d190bf7e21b984394540c4f01a15a1e4 Author: Robert Kaussow Date: Sat Aug 1 21:44:58 2020 +0200 add conjob option --- index.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/index.md b/index.md index f139379..bc050b6 100644 --- a/index.md +++ b/index.md @@ -13,6 +13,7 @@ Setup Minio S3 server * [minio_bind_ip](#minio_bind_ip) * [minio_bind_port](#minio_bind_port) * [minio_client_version](#minio_client_version) + * [minio_cronjobs](#minio_cronjobs) * [minio_data_dirs](#minio_data_dirs) * [minio_extra_groups](#minio_extra_groups) * [minio_group](#minio_group) @@ -71,6 +72,29 @@ minio_bind_port: 61000 minio_client_version: latest ``` +### minio_cronjobs + +#### Default value + +```YAML +minio_cronjobs: [] +``` + +#### Example usage + +```YAML +minio_cronjobs: + - name: maintenance + minute: "0" + hour: "0" + day: "*" + month: "*" + weekday: "*" + job: "mc rm --older-than 30d --recursive --force my_bucket/logs" + user: "{{ minio_user }}" + cron_file: "minio" +``` + ### minio_data_dirs #### Default value