diff options
author | Sandro Santilli <strk@kbt.io> | 2017-12-17 15:37:34 +0100 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2017-12-17 16:37:34 +0200 |
commit | 9a0e2a8b074d209b043b8d9e3d16f1ce4cdcab2d (patch) | |
tree | 298469846ab5d8f853f941df3ffe61f3af87f5ac /custom | |
parent | 6abfa48c0ecb9f19cb5b6c66763dbd577ac21dcc (diff) | |
download | gitea-9a0e2a8b074d209b043b8d9e3d16f1ce4cdcab2d.tar.gz gitea-9a0e2a8b074d209b043b8d9e3d16f1ce4cdcab2d.zip |
Improve cron.archive_cleanup docs in cheat sheet and app.ini.sample (#3215)
Include defaults in cheat sheet, for that section
Diffstat (limited to 'custom')
-rw-r--r-- | custom/conf/app.ini.sample | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/custom/conf/app.ini.sample b/custom/conf/app.ini.sample index a5a0b19871..6a8ae48a91 100644 --- a/custom/conf/app.ini.sample +++ b/custom/conf/app.ini.sample @@ -493,7 +493,11 @@ SCHEDULE = @every 24h ; Clean up old repository archives [cron.archive_cleanup] +; Whether to enable the job +ENABLED = true +; Whether to always run at least once at start up time (if ENABLED) RUN_AT_START = true +; Time interval for job to run SCHEDULE = @every 24h ; Archives created more than OLDER_THAN ago are subject to deletion OLDER_THAN = 24h |