How to deactivate Traccar cache?

Pablo Andrade6 years ago

Hello, I am working on a project in which automatically registering the devices.

<entry key = 'database.registerUnknown'> true </ entry>

Then I use the forward to obtain data of the events and positions and everything is fine, but now I need the function of geofences.
I directly enter into the database the data for the geofence and also to link the devices to the geofence.
The thing is that the geofence events are only issued when I restart the traccar server, I have been reading posts about the traccar cache and I would like to know if there is a way to cancel or deactivate the traccar cache so that I do not have to restart the service.

Greetings and a thousand apologies for my English grief.

Anton Tananaev6 years ago

There is no way to deactivate it. Instead of adding data directly into the database, you should use API.

Pablo Andrade6 years ago

I have the web interface disabled so I do not have access to the Traccar api.
Thanks for the prompt response now I have clear that you can not cancel the cache or make direct operations in the Database.
Greetings and congratulations for such a great and fabulous project.