From 26098e7a5339d2cc9b8c70d51778c9e3098494fb Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sat, 10 Dec 2022 10:45:20 +0800 Subject: [PATCH 1/2] Fix wrong default value for update checker on app.example.ini --- custom/conf/app.example.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini index 03f004ee90196..8824d31a4ae52 100644 --- a/custom/conf/app.example.ini +++ b/custom/conf/app.example.ini @@ -2147,7 +2147,7 @@ ROUTER = console ;[cron.update_checker] ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;ENABLED = false +;ENABLED = true ;RUN_AT_START = false ;ENABLE_SUCCESS_NOTICE = false ;SCHEDULE = @every 168h From a7b6b492162d305d71fff28de0ce958e508033df Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sun, 11 Dec 2022 21:05:04 +0800 Subject: [PATCH 2/2] Fix documents error on cheat-sheet --- docs/content/doc/advanced/config-cheat-sheet.en-us.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/doc/advanced/config-cheat-sheet.en-us.md b/docs/content/doc/advanced/config-cheat-sheet.en-us.md index 37f03b42ea724..dcf91c3396fb9 100644 --- a/docs/content/doc/advanced/config-cheat-sheet.en-us.md +++ b/docs/content/doc/advanced/config-cheat-sheet.en-us.md @@ -1005,7 +1005,7 @@ Default templates for project boards: #### Cron - Check for new Gitea versions ('cron.update_checker') -- `ENABLED`: **false**: Enable service. +- `ENABLED`: **true**: Enable service. - `RUN_AT_START`: **false**: Run tasks at start up time (if ENABLED). - `ENABLE_SUCCESS_NOTICE`: **true**: Set to false to switch off success notices. - `SCHEDULE`: **@every 168h**: Cron syntax for scheduling a work, e.g. `@every 168h`.