From 42835c7f82ac379d5d583fa8406cff529b9d0e9e Mon Sep 17 00:00:00 2001 From: Andrew Date: Fri, 10 Feb 2017 23:00:46 -0500 Subject: Implement archive cleanup (#885) * Implement archive cleanup Fixes #769 Signed-off-by: Andrew * Make sure to close the directory file * Resolve issues noted by @strk * edit cheatsheet app.ini [ci skip] * oops [ci skip] --- conf/app.ini | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'conf') diff --git a/conf/app.ini b/conf/app.ini index 254b1bc549..8338a1b93d 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -391,6 +391,13 @@ ARGS = RUN_AT_START = true SCHEDULE = @every 24h +; Clean up old repository archives +[cron.archive_cleanup] +RUN_AT_START = true +SCHEDULE = @every 24h +; Archives created more than OLDER_THAN ago are subject to deletion +OLDER_THAN = 24h + [git] ; Disables highlight of added and removed changes DISABLE_DIFF_HIGHLIGHT = false -- cgit v1.2.3