From 20d9a17657b2d666396da48075713b51d5864806 Mon Sep 17 00:00:00 2001 From: Paul De Geest Date: Thu, 13 Jul 2023 10:50:17 +0200 Subject: [PATCH] Small update to cron job for cleanup `gxadmin galaxy cleanup` requires a some python scripts which require dependencies installed in the virtual env unless these are all covered by pre-task? If the latter is the case please ignore and close. If not, then it's possible better to move this to one of the `galaxyproject.galaxy` tasks? --- topics/admin/tutorials/backup-cleanup/tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/topics/admin/tutorials/backup-cleanup/tutorial.md b/topics/admin/tutorials/backup-cleanup/tutorial.md index 792d35b6dac5e8..92d9b2ce27e7b5 100644 --- a/topics/admin/tutorials/backup-cleanup/tutorial.md +++ b/topics/admin/tutorials/backup-cleanup/tutorial.md @@ -129,7 +129,7 @@ tutorial]({% link topics/admin/tutorials/gxadmin/tutorial.md %}). > + user: galaxy # Run as the Galaxy user > + minute: "0" > + hour: "0" -> + job: "GALAXY_LOG_DIR=/tmp/gxadmin/ GALAXY_ROOT={{ galaxy_root }}/server /usr/local/bin/gxadmin galaxy cleanup 60" +> + job: "SHELL=/bin/bash source {{ galaxy_venv_dir }}/bin/activate && GALAXY_LOG_DIR=/tmp/gxadmin/ GALAXY_ROOT={{ galaxy_root }}/server GALAXY_CONFIG_FILE={{ galaxy_config_file }} /usr/local/bin/gxadmin galaxy cleanup 60" > {% endraw %} > ``` > {: data-commit="Configure gxadmin to cleanup data"}