Skip to content

Commit ec1e87b

Browse files
author
Roy
committed
update cleanup_cached_dir job
1 parent 0ae9a4b commit ec1e87b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

artifacts-corepy/artifacts_corepy/server/scheduler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def main():
198198
except Exception as e:
199199
LOG.exception(e)
200200
scheduler = BlockingScheduler(jobstores=jobstores, executors=executors, job_defaults=job_defaults, timezone=tz_info)
201-
scheduler.add_job(cleanup_cached_dir, 'cron', hour='*')
201+
scheduler.add_job(cleanup_cached_dir, 'cron', minute="*/5")
202202
scheduler.add_job(rotate_log, 'cron', hour=3, minute=5)
203203

204204
cron_values = CONF.cleanup.cron.split()

0 commit comments

Comments
 (0)