I have a device that is locked to a particular service, I do have API access to the service to retrieve the data. I have created a script to pull device information from the proprietary system and write it into the Traccar database table tc_positions (and update the positionid in tc_devices). But this information doesn't seem to be processed until I restart the server. Is there anyway to trigger/force an update or set a timer to update periodically? I have looked at the API docs and did not see a way to do it there. Any help would be appreciated.
You would have to restart server. To avoid issues like this you should use API to add/modify data instead using direct database access.
I have a device that is locked to a particular service, I do have API access to the service to retrieve the data. I have created a script to pull device information from the proprietary system and write it into the Traccar database table tc_positions (and update the positionid in tc_devices). But this information doesn't seem to be processed until I restart the server. Is there anyway to trigger/force an update or set a timer to update periodically? I have looked at the API docs and did not see a way to do it there. Any help would be appreciated.