From a2824865fa7018c6d4907908b2bbb0ee766f5772 Mon Sep 17 00:00:00 2001 From: Ada Date: Fri, 5 Apr 2024 21:26:12 +0200 Subject: [PATCH] add documentation for cron.delete_inactive_accounts --- docs/admin/config-cheat-sheet.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/admin/config-cheat-sheet.md b/docs/admin/config-cheat-sheet.md index 65ccbe24..6405b135 100644 --- a/docs/admin/config-cheat-sheet.md +++ b/docs/admin/config-cheat-sheet.md @@ -1031,6 +1031,13 @@ Additional settings can be included in this section to specify where the data is - `NUMBER_TO_CHECK_PER_REPO`: **100**: Minimum number of stale LFSMetaObjects to check per repo. Set to `0` to always check all. - `PROPORTION_TO_CHECK_PER_REPO`: **0.6**: Check at least this proportion of LFSMetaObjects per repo. (This may cause all stale LFSMetaObjects to be checked.) +#### Cron - Delete inactive account (`cron.delete_inactive_accounts`) +- `ENABLED`: **false**: Enable service. +- `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`: **@annually**: Cron syntax to set how often to check. +- `OLDER_THAN`: **168h**: Max age for inactive account before deletion. + ## Git (`git`) - `PATH`: **""**: The path of Git executable. If empty, Forgejo searches through the PATH environment.