···994994995995### Extended cron tasks (not enabled by default)
996996997997-#### Cron - Garbage collect all repositories ('cron.git_gc_repos')
997997+#### Cron - Garbage collect all repositories (`cron.git_gc_repos`)
998998999999- `ENABLED`: **false**: Enable service.
10001000- `RUN_AT_START`: **false**: Run tasks at start up time (if ENABLED).
···10031003- `NOTICE_ON_SUCCESS`: **false**: Set to true to switch on success notices.
10041004- `ARGS`: **\<empty\>**: Arguments for command `git gc`, e.g. `--aggressive --auto`. The default value is same with [git] -> GC_ARGS
1005100510061006-#### Cron - Update the '.ssh/authorized_keys' file with Gitea SSH keys ('cron.resync_all_sshkeys')
10061006+#### Cron - Update the '.ssh/authorized_keys' file with Gitea SSH keys (`cron.resync_all_sshkeys`)
1007100710081008- `ENABLED`: **false**: Enable service.
10091009- `RUN_AT_START`: **false**: Run tasks at start up time (if ENABLED).
10101010- `NOTICE_ON_SUCCESS`: **false**: Set to true to switch on success notices.
10111011- `SCHEDULE`: **@every 72h**: Cron syntax for scheduling repository archive cleanup, e.g. `@every 1h`.
1012101210131013-#### Cron - Resynchronize pre-receive, update and post-receive hooks of all repositories ('cron.resync_all_hooks')
10131013+#### Cron - Resynchronize pre-receive, update and post-receive hooks of all repositories (`cron.resync_all_hooks`)
1014101410151015- `ENABLED`: **false**: Enable service.
10161016- `RUN_AT_START`: **false**: Run tasks at start up time (if ENABLED).
10171017- `NOTICE_ON_SUCCESS`: **false**: Set to true to switch on success notices.
10181018- `SCHEDULE`: **@every 72h**: Cron syntax for scheduling repository archive cleanup, e.g. `@every 1h`.
1019101910201020-#### Cron - Reinitialize all missing Git repositories for which records exist ('cron.reinit_missing_repos')
10201020+#### Cron - Reinitialize all missing Git repositories for which records exist (`cron.reinit_missing_repos`)
1021102110221022- `ENABLED`: **false**: Enable service.
10231023- `RUN_AT_START`: **false**: Run tasks at start up time (if ENABLED).
10241024- `NOTICE_ON_SUCCESS`: **false**: Set to true to switch on success notices.
10251025- `SCHEDULE`: **@every 72h**: Cron syntax for scheduling repository archive cleanup, e.g. `@every 1h`.
1026102610271027-#### Cron - Delete all repositories missing their Git files ('cron.delete_missing_repos')
10271027+#### Cron - Delete all repositories missing their Git files (`cron.delete_missing_repos`)
1028102810291029- `ENABLED`: **false**: Enable service.
10301030- `RUN_AT_START`: **false**: Run tasks at start up time (if ENABLED).
10311031- `NOTICE_ON_SUCCESS`: **false**: Set to true to switch on success notices.
10321032- `SCHEDULE`: **@every 72h**: Cron syntax for scheduling repository archive cleanup, e.g. `@every 1h`.
1033103310341034-#### Cron - Delete generated repository avatars ('cron.delete_generated_repository_avatars')
10341034+#### Cron - Delete generated repository avatars (`cron.delete_generated_repository_avatars`)
1035103510361036- `ENABLED`: **false**: Enable service.
10371037- `RUN_AT_START`: **false**: Run tasks at start up time (if ENABLED).
10381038- `NOTICE_ON_SUCCESS`: **false**: Set to true to switch on success notices.
10391039- `SCHEDULE`: **@every 72h**: Cron syntax for scheduling repository archive cleanup, e.g. `@every 1h`.
1040104010411041-#### Cron - Delete all old actions from database ('cron.delete_old_actions')
10411041+#### Cron - Delete all old actions from database (`cron.delete_old_actions`)
1042104210431043- `ENABLED`: **false**: Enable service.
10441044- `RUN_AT_START`: **false**: Run tasks at start up time (if ENABLED).
···10461046- `SCHEDULE`: **@every 168h**: Cron syntax to set how often to check.
10471047- `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.
1048104810491049-#### Cron - Check for new Gitea versions ('cron.update_checker')
10491049+#### Cron - Check for new Gitea versions (`cron.update_checker`)
1050105010511051- `ENABLED`: **true**: Enable service.
10521052- `RUN_AT_START`: **false**: Run tasks at start up time (if ENABLED).
···10541054- `SCHEDULE`: **@every 168h**: Cron syntax for scheduling a work, e.g. `@every 168h`.
10551055- `HTTP_ENDPOINT`: **https://dl.gitea.io/gitea/version.json**: the endpoint that Gitea will check for newer versions
1056105610571057-#### Cron - Delete all old system notices from database ('cron.delete_old_system_notices')
10571057+#### Cron - Delete all old system notices from database (`cron.delete_old_system_notices`)
1058105810591059- `ENABLED`: **false**: Enable service.
10601060- `RUN_AT_START`: **false**: Run tasks at start up time (if ENABLED).
···10621062- `SCHEDULE`: **@every 168h**: Cron syntax to set how often to check.
10631063- `OLDER_THAN`: **@every 8760h**: any system notice older than this expression will be deleted from database.
1064106410651065-#### Cron - Garbage collect LFS pointers in repositories ('cron.gc_lfs')
10651065+#### Cron - Garbage collect LFS pointers in repositories (`cron.gc_lfs`)
1066106610671067- `ENABLED`: **false**: Enable service.
10681068- `RUN_AT_START`: **false**: Run tasks at start up time (if ENABLED).