History cleaner not working

acalabro4 years ago

Hello.. I See many discussions about cleaning history positions and events , but it is not working in my server.. I have version 3.14 as I can remember.

I have this entry into traccar.xml config file

<entry key='database.historydays'>180</entry>

I tried to reset the service but nothing happens..
Could you telle me if this is corect ? or can you tell me the Query i can use in the MYSQL database?

Thanks in advance

Alejandro

Anton Tananaev4 years ago

Are you sure it's supported on 3.14? Your Traccar version is too old.

I would also recommend checking this:

https://www.traccar.org/clear-history/

Vani4 years ago

I am searching one week how i can set this for windows . This link is for linux but how can i do this in windows. I place this code <entry key='database.historydays'>180</entry> but not working. The report still available..

Anton Tananaev4 years ago

You should do something similar to what's on that page. Also, the config key you are using is incorrect.