File versioning and versions_retention_obligation

Hello everyone, my question is about file versioning (sorry if it is a duplicate post).

I have the doubt how Nextcloud erase old versions (using versions_retention_obligation). It’s a process running behind? Or always I need to restart the Apache server, for example?

Regards!