diff options
author | Sandro Santilli <strk@kbt.io> | 2017-12-17 15:37:34 +0100 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2017-12-17 16:37:34 +0200 |
commit | 9a0e2a8b074d209b043b8d9e3d16f1ce4cdcab2d (patch) | |
tree | 298469846ab5d8f853f941df3ffe61f3af87f5ac /docs | |
parent | 6abfa48c0ecb9f19cb5b6c66763dbd577ac21dcc (diff) | |
download | gitea-9a0e2a8b074d209b043b8d9e3d16f1ce4cdcab2d.tar.gz gitea-9a0e2a8b074d209b043b8d9e3d16f1ce4cdcab2d.zip |
Improve cron.archive_cleanup docs in cheat sheet and app.ini.sample (#3215)
Include defaults in cheat sheet, for that section
Diffstat (limited to 'docs')
-rw-r--r-- | docs/content/doc/advanced/config-cheat-sheet.en-us.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/content/doc/advanced/config-cheat-sheet.en-us.md b/docs/content/doc/advanced/config-cheat-sheet.en-us.md index 55fe5c11d9..440946c7d7 100644 --- a/docs/content/doc/advanced/config-cheat-sheet.en-us.md +++ b/docs/content/doc/advanced/config-cheat-sheet.en-us.md @@ -189,6 +189,13 @@ Note: Actually, Gitea supports only SMTP with STARTTLS. - `ENABLED`: Enable this to run cron tasks periodically. - `RUN_AT_START`: Enable this to run cron tasks at start time. +### Cron - Cleanup old repository archives (`cron.archive_cleanup`) + +- `ENABLED`: Enable service. Defaults to true. +- `RUN_AT_START`: Run tasks at start up time (if ENABLED). Defaults to true. +- `SCHEDULE`: Cron syntax for scheduling repository archive cleanup, e.g. `@every 1h`. Defaults to `@every 24h`. +- `OLDER_THAN`: Archives created more than `OLDER_THAN` ago are subject to deletion, e.g. `12h`. Defaults to `24h`. + ### Cron - Update Mirrors (`cron.update_mirrors`) - `SCHEDULE`: Cron syntax for scheduling update mirrors, e.g. `@every 1h`. |