mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
add note about `cron.SCHEDULE
` format in document (#15812)
* add note about ``cron.SCHEDULE`` format in document Signed-off-by: a1012112796 <1012112796@qq.com> * Update custom/conf/app.example.ini Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
@@ -1591,6 +1591,11 @@ PATH =
|
||||
;ENABLED = false
|
||||
;; Setting this to true will run all enabled cron tasks when Gitea starts.
|
||||
;RUN_AT_START = false
|
||||
;;
|
||||
;; Note: ``SCHEDULE`` accept formats
|
||||
;; - Full crontab specs, e.g. "* * * * * ?"
|
||||
;; - Descriptors, e.g. "@midnight", "@every 1h30m"
|
||||
;; See more: https://pkg.go.dev/github.com/gogs/cron@v0.0.0-20171120032916-9f6c956d3e14
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; Basic cron tasks - enabled by default
|
||||
|
Reference in New Issue
Block a user