aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/schedule
diff options
context:
space:
mode:
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)) {