Browse Source

Improve cron.archive_cleanup docs in cheat sheet and app.ini.sample (#3215)

Include defaults in cheat sheet, for that section
tags/v1.4.0-rc1
Sandro Santilli Lauris BH 7 years ago
parent
commit
c7f635ff25
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      docs/content/doc/advanced/config-cheat-sheet.en-us.md

+ 7
- 0
docs/content/doc/advanced/config-cheat-sheet.en-us.md View File

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


Loading…
Cancel
Save