aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/schedule/ScheduleManager.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-01-27 07:20:22 -0800
committerAnton Tananaev <anton@traccar.org>2023-01-27 07:20:22 -0800
commitd66d04b400654169e3aab6803311b39dc0f788f4 (patch)
tree26b6c66567c1804026966287ea219a6e105106ba /src/main/java/org/traccar/schedule/ScheduleManager.java
parent0999180f58cf6a0edaf08461674eae70e839f3ce (diff)
downloadtrackermap-server-d66d04b400654169e3aab6803311b39dc0f788f4.tar.gz
trackermap-server-d66d04b400654169e3aab6803311b39dc0f788f4.tar.bz2
trackermap-server-d66d04b400654169e3aab6803311b39dc0f788f4.zip
Fix report task injection
Diffstat (limited to 'src/main/java/org/traccar/schedule/ScheduleManager.java')
-rw-r--r--src/main/java/org/traccar/schedule/ScheduleManager.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/schedule/ScheduleManager.java b/src/main/java/org/traccar/schedule/ScheduleManager.java
index 450e531a0..e1de3b3af 100644
--- a/src/main/java/org/traccar/schedule/ScheduleManager.java
+++ b/src/main/java/org/traccar/schedule/ScheduleManager.java
@@ -39,6 +39,7 @@ public class ScheduleManager implements LifecycleObject {
public void start() {
executor = Executors.newSingleThreadScheduledExecutor();
var tasks = List.of(
+ TaskReports.class,
TaskDeviceInactivityCheck.class,
TaskWebSocketKeepalive.class,
TaskHealthCheck.class);