Clear History - traccar docker with Postgre SQL

Tracking Faso15 days ago

hello,
I use Docker for my Traccar server and connect with a Postgre database. I would like to do a planned task to clean up histotics older than 90 days as illustrated in this link https://www.traccar.org/clear-history/
I've been searching for a long time but haven't found any results. I use docker-compose.yml, if anyone has a solution they can help me. THANKS