Tell me how you implemented the automatic deletion of the mastodon cache, via cron directly on the VM itself, or in the container in which the Mastodon application is located, if so, tell me how, thank you!
I implemented this directly through the cron on the VM itself, I wonder if there is a way to do this in a container
There's a simple solution:
use
bind mountlike:And then, you can use the
cronfrom the host.The
dockerphilosophy is to run only the smallest amount of process at the same time.