From 75c7efc23d35d99ba9aada89b01a143a30c85878 Mon Sep 17 00:00:00 2001 From: Asad Date: Mon, 4 Nov 2024 20:20:06 -0500 Subject: [PATCH] docs: Update gitea cron job documentation for repository archive deletion - Added detailed documentation for `cron.delete_repo_archives` settings. - Documented configuration options including `ENABLED`, `RUN_AT_START`, `NOTICE_ON_SUCCESS`, and `SCHEDULE`. - Ensured consistent formatting across cron job documentation. This update improves clarity on how to configure periodic deletion of repository archives within Gitea. --- docs/administration/config-cheat-sheet.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/administration/config-cheat-sheet.md b/docs/administration/config-cheat-sheet.md index 6c873a12..cadc14be 100644 --- a/docs/administration/config-cheat-sheet.md +++ b/docs/administration/config-cheat-sheet.md @@ -1028,6 +1028,13 @@ Default templates for project board view: ### Extended cron tasks +#### Cron - Delete all repo archives (`cron.delete_repo_archives`) + +- `ENABLED`: **false**: Enable service. +- `RUN_AT_START`: **false**: Run tasks at start up time (if ENABLED). +- `NOTICE_ON_SUCCESS`: **false**: Set to true to switch on success notices. +- `SCHEDULE`: **@annually**: Cron schedule for deleting all repository archives, e.g. `@annually`. + #### Cron - Garbage collect all repositories (`cron.git_gc_repos`) - `ENABLED`: **false**: Enable service.