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