Skip to content

Commit 9f1d377

Browse files
Fix docs documenting invalid @every for OLDER_THAN cron settings (#24695)
Looks like a copy-paste leftover - Fixes #20868 Co-authored-by: Giteabot <[email protected]>
1 parent 542adf5 commit 9f1d377

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/content/doc/administration/config-cheat-sheet.en-us.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,7 +1018,7 @@ Default templates for project boards:
10181018
- `RUN_AT_START`: **false**: Run tasks at start up time (if ENABLED).
10191019
- `NOTICE_ON_SUCCESS`: **false**: Set to true to switch on success notices.
10201020
- `SCHEDULE`: **@every 168h**: Cron syntax to set how often to check.
1021-
- `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.
1021+
- `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.
10221022

10231023
#### Cron - Check for new Gitea versions (`cron.update_checker`)
10241024

@@ -1034,7 +1034,7 @@ Default templates for project boards:
10341034
- `RUN_AT_START`: **false**: Run tasks at start up time (if ENABLED).
10351035
- `NO_SUCCESS_NOTICE`: **false**: Set to true to switch off success notices.
10361036
- `SCHEDULE`: **@every 168h**: Cron syntax to set how often to check.
1037-
- `OLDER_THAN`: **@every 8760h**: any system notice older than this expression will be deleted from database.
1037+
- `OLDER_THAN`: **8760h**: any system notice older than this expression will be deleted from database.
10381038

10391039
#### Cron - Garbage collect LFS pointers in repositories (`cron.gc_lfs`)
10401040

0 commit comments

Comments
 (0)