We use the Musicbot in Teamspeak just to quickly play a youtube link. The application runs as a Docker container with volume.
Is there a possibility / script / function to automatically remove files that are older than 24 hours? The volume currently continues to inflate until once a month it is deleted and reinserted - but I don't think it's a particularly good long-term solution.
Simply deleting it from the store folder doesn't seem to be a good solution either, as it doesn't disappear from the database, potentially creating many dead links.
Does anyone have any ideas about this?
Is there a possibility / script / function to automatically remove files that are older than 24 hours? The volume currently continues to inflate until once a month it is deleted and reinserted - but I don't think it's a particularly good long-term solution.
Simply deleting it from the store folder doesn't seem to be a good solution either, as it doesn't disappear from the database, potentially creating many dead links.
Does anyone have any ideas about this?