Skip to content

Commit 5df8352

Browse files
GiteaBotyardenshoham
authored andcommitted
Fix docs documenting invalid @every for OLDER_THAN cron settings (go-gitea#24695) (go-gitea#24698)
Backport go-gitea#24695 by @yardenshoham Looks like a copy-paste leftover - Fixes go-gitea#20868 Co-authored-by: Yarden Shoham <[email protected]> (cherry picked from commit aa984f2)
1 parent 55d0620 commit 5df8352

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
@@ -1041,7 +1041,7 @@ Default templates for project boards:
10411041
- `RUN_AT_START`: **false**: Run tasks at start up time (if ENABLED).
10421042
- `NOTICE_ON_SUCCESS`: **false**: Set to true to switch on success notices.
10431043
- `SCHEDULE`: **@every 168h**: Cron syntax to set how often to check.
1044-
- `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.
1044+
- `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.
10451045

10461046
#### Cron - Check for new Gitea versions (`cron.update_checker`)
10471047

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

10631063
#### Cron - Garbage collect LFS pointers in repositories (`cron.gc_lfs`)
10641064

0 commit comments

Comments
 (0)