On 8/2/22 08:53, bob B via Mailman-users wrote:
Mark,
Thanks, I know you are not a docker guy, but any idea on how to run this in the maxking docker environment? Or maxking any thoughts?
Not sure if the docker environment has all the components or can get them all to run this script, but I have been trying to figure it out. I assume it should be run in the mailman-web container? we are using an external database, but I don't think that should matter.
Yes, it would run in the mailman-web container in the same way the
manage.py
command is run for example. Looking at
https://asynchronous.in/docker-mailman/web/#django-management-commands,
I think this would be something like
$ docker exec -it mailman-web python3 prune_arch3 yyyy-mm-dd
after saving the prune_arch3 file in the same place as manage.py
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan