Enable cron job to delete repo archives #423

Merged
raucao merged 1 commits from chore/395-gitea_cron into master 2022-08-08 10:54:27 +00:00

View File

@ -82,6 +82,12 @@ MAX_SIZE = 10
; ; Max number of files per upload. Defaults to 5 ; ; Max number of files per upload. Defaults to 5
MAX_FILES = 5 MAX_FILES = 5
[cron.delete_repo_archives]
ENABLED = true
RUN_AT_START = false
NOTICE_ON_SUCCESS = false
SCHEDULE = @every 15m
<% if c = @config["webhook"] %> <% if c = @config["webhook"] %>
[webhook] [webhook]
<% if c["allowed_host_list"] %>ALLOWED_HOST_LIST = <%= c["allowed_host_list"] %><% end %> <% if c["allowed_host_list"] %>ALLOWED_HOST_LIST = <%= c["allowed_host_list"] %><% end %>