Skip to content

Commit aa984f2

Browse files
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]>
1 parent 8f72201 commit aa984f2

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

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

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

0 commit comments

Comments
 (0)