diff options
author | Pilou <pierre-louis@libregerbil.fr> | 2022-03-28 14:54:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-28 13:54:59 +0100 |
commit | 893c8938fc81166f386ff203f2129497ceddbc32 (patch) | |
tree | a4b0d79b4c4871932d344fa9c29a0aaa77139951 /docs | |
parent | 6526733a58632086d51ce7211b3a4dc75dbbef90 (diff) | |
download | gitea-893c8938fc81166f386ff203f2129497ceddbc32.tar.gz gitea-893c8938fc81166f386ff203f2129497ceddbc32.zip |
New cron task: delete old system notices (#19219)
Add a new cron task which deletes the old system notices.
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 d1d69a2310..d9018f982a 100644 --- a/docs/content/doc/advanced/config-cheat-sheet.en-us.md +++ b/docs/content/doc/advanced/config-cheat-sheet.en-us.md @@ -921,6 +921,13 @@ Default templates for project boards: - `SCHEDULE`: **@every 168h**: Cron syntax for scheduling a work, e.g. `@every 168h`. - `HTTP_ENDPOINT`: **https://dl.gitea.io/gitea/version.json**: the endpoint that Gitea will check for newer versions +#### Cron - Delete all old system notices from database ('cron.delete_old_system_notices') +- `ENABLED`: **false**: Enable service. +- `RUN_AT_START`: **false**: Run tasks at start up time (if ENABLED). +- `NO_SUCCESS_NOTICE`: **false**: Set to true to switch off success notices. +- `SCHEDULE`: **@every 168h**: Cron syntax to set how often to check. +- `OLDER_THAN`: **@every 8760h**: any system notice older than this expression will be deleted from database. + ## Git (`git`) - `PATH`: **""**: The path of Git executable. If empty, Gitea searches through the PATH environment. |