aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/schedule
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2024-04-20 07:28:01 -0700
committerAnton Tananaev <anton@traccar.org>2024-04-20 07:28:01 -0700
commitfb7a817440f3734e465c7843024d676c13f82d24 (patch)
tree74a996c4120370384b8d0147d8ebeeaac930c95a /src/main/java/org/traccar/schedule
parent9e41b5f94063fa9f40725d115d16b9a2c1842720 (diff)
downloadtrackermap-server-fb7a817440f3734e465c7843024d676c13f82d24.tar.gz
trackermap-server-fb7a817440f3734e465c7843024d676c13f82d24.tar.bz2
trackermap-server-fb7a817440f3734e465c7843024d676c13f82d24.zip
Fix configuration issues
Diffstat (limited to 'src/main/java/org/traccar/schedule')
-rw-r--r--src/main/java/org/traccar/schedule/TaskExpirations.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/schedule/TaskExpirations.java b/src/main/java/org/traccar/schedule/TaskExpirations.java
index 94f855c5f..e16dcd86c 100644
--- a/src/main/java/org/traccar/schedule/TaskExpirations.java
+++ b/src/main/java/org/traccar/schedule/TaskExpirations.java
@@ -111,7 +111,7 @@ public class TaskExpirations implements ScheduleTask {
}
if (config.getBoolean(Keys.NOTIFICATION_EXPIRATION_DEVICE)) {
- long reminder = config.getLong(Keys.NOTIFICATION_EXPIRATION_USER_REMINDER);
+ long reminder = config.getLong(Keys.NOTIFICATION_EXPIRATION_DEVICE_REMINDER);
var devices = storage.getObjects(Device.class, new Request(new Columns.All()));
for (Device device : devices) {
if (checkTimeTrigger(device, currentTime, 0)) {