diff --git a/delete_userless_histories.sh b/delete_userless_histories.sh index f476e20674b..7673537daca 100644 --- a/delete_userless_histories.sh +++ b/delete_userless_histories.sh @@ -1,5 +1,6 @@ #!/bin/sh -source ./setup_paths.sh +. ./scripts/get_python.sh +. ./setup_paths.sh -python2.4 ./scripts/cleanup_datasets.py ./universe_wsgi.ini -d 10 -2 $@ >> ./delete_userless_histories.log +$GALAXY_PYTHON ./scripts/cleanup_datasets.py ./universe_wsgi.ini -d 10 -2 $@ >> ./delete_userless_histories.log diff --git a/purge_datasets.sh b/purge_datasets.sh index 40b46a1be99..dd5d6739e1f 100644 --- a/purge_datasets.sh +++ b/purge_datasets.sh @@ -1,5 +1,6 @@ #!/bin/sh -source ./setup_paths.sh +. ./scripts/get_python.sh +. ./setup_paths.sh -python2.4 ./scripts/cleanup_datasets.py ./universe_wsgi.ini -d 10 -6 -r $@ >> ./purge_datasets.log +$GALAXY_PYTHON ./scripts/cleanup_datasets.py ./universe_wsgi.ini -d 10 -6 -r $@ >> ./purge_datasets.log diff --git a/purge_histories.sh b/purge_histories.sh index 80fc511010f..e18cdca8d37 100644 --- a/purge_histories.sh +++ b/purge_histories.sh @@ -1,5 +1,6 @@ #!/bin/sh -source ./setup_paths.sh +. ./scripts/get_python.sh +. ./setup_paths.sh -python2.4 ./scripts/cleanup_datasets.py ./universe_wsgi.ini -d 10 -4 -r $@ >> ./purge_histories.log +$GALAXY_PYTHON ./scripts/cleanup_datasets.py ./universe_wsgi.ini -d 10 -4 -r $@ >> ./purge_histories.log