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.
This commit is contained in:
Asad
2024-11-04 20:20:06 -05:00
parent 82c020a3cb
commit 75c7efc23d

View File

@@ -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.