aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content
diff options
context:
space:
mode:
authorYarden Shoham <git@yardenshoham.com>2023-05-13 18:22:31 +0300
committerGitHub <noreply@github.com>2023-05-13 15:22:31 +0000
commit9f1d377b87771ce2ef76caeef0aa649e768a24d7 (patch)
tree02a6de65d4d974f46705a6a3fb48cdc640f727c3 /docs/content
parent542adf50d5007ec85a54843c33c716b68371f341 (diff)
downloadgitea-9f1d377b87771ce2ef76caeef0aa649e768a24d7.tar.gz
gitea-9f1d377b87771ce2ef76caeef0aa649e768a24d7.zip
Fix docs documenting invalid `@every` for `OLDER_THAN` cron settings (#24695)
Looks like a copy-paste leftover - Fixes #20868 Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'docs/content')
-rw-r--r--docs/content/doc/administration/config-cheat-sheet.en-us.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/doc/administration/config-cheat-sheet.en-us.md b/docs/content/doc/administration/config-cheat-sheet.en-us.md
index 845840eb2d..af6b3a2edd 100644
--- a/docs/content/doc/administration/config-cheat-sheet.en-us.md
+++ b/docs/content/doc/administration/config-cheat-sheet.en-us.md
@@ -1018,7 +1018,7 @@ Default templates for project boards:
- `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`: **@every 168h**: Cron syntax to set how often to check.
-- `OLDER_THAN`: **@every 8760h**: any action older than this expression will be deleted from database, suggest using `8760h` (1 year) because that's the max length of heatmap.
+- `OLDER_THAN`: **8760h**: any action older than this expression will be deleted from database, suggest using `8760h` (1 year) because that's the max length of heatmap.
#### Cron - Check for new Gitea versions (`cron.update_checker`)
@@ -1034,7 +1034,7 @@ Default templates for project boards:
- `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.
+- `OLDER_THAN`: **8760h**: any system notice older than this expression will be deleted from database.
#### Cron - Garbage collect LFS pointers in repositories (`cron.gc_lfs`)