From 4cfc899622e04c8a9256fdb5dd34e0d9ce9477e1 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 10 Sep 2016 17:27:57 +1200 Subject: Update release config files --- setup/unix/traccar.xml | 14 ++++++++++++-- setup/windows/traccar.xml | 14 ++++++++++++-- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/setup/unix/traccar.xml b/setup/unix/traccar.xml index b602e6321..24d9781b6 100644 --- a/setup/unix/traccar.xml +++ b/setup/unix/traccar.xml @@ -18,11 +18,12 @@ /opt/traccar/logs/tracker-server.log true - 60 true - 90 + true true true + true + true @@ -273,6 +274,10 @@ DELETE FROM notifications WHERE id = :id; + + DELETE FROM positions WHERE serverTime < :serverTime AND id NOT IN (SELECT positionId FROM devices); + + 5001 @@ -392,5 +397,10 @@ 5114 5115 5116 + 5114 + 5115 + 5116 + 5117 + 5118 diff --git a/setup/windows/traccar.xml b/setup/windows/traccar.xml index 053e2ca5a..14d748356 100644 --- a/setup/windows/traccar.xml +++ b/setup/windows/traccar.xml @@ -18,11 +18,12 @@ [LOG] true - 60 true - 90 + true true true + true + true @@ -273,6 +274,10 @@ DELETE FROM notifications WHERE id = :id; + + DELETE FROM positions WHERE serverTime < :serverTime AND id NOT IN (SELECT positionId FROM devices); + + 5001 @@ -392,5 +397,10 @@ 5114 5115 5116 + 5114 + 5115 + 5116 + 5117 + 5118 -- cgit v1.2.3