From b9288b25e7ddd2688efbf4bde01e5655079dd315 Mon Sep 17 00:00:00 2001 From: Adam Fowler Date: Thu, 24 Oct 2024 14:36:39 +0100 Subject: [PATCH] Log last scheduled date when starting JobScheduler service (#36) --- Sources/Jobs/Scheduler/JobSchedule.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/Jobs/Scheduler/JobSchedule.swift b/Sources/Jobs/Scheduler/JobSchedule.swift index 9e7d5fd..7e1bde7 100644 --- a/Sources/Jobs/Scheduler/JobSchedule.swift +++ b/Sources/Jobs/Scheduler/JobSchedule.swift @@ -171,6 +171,7 @@ public struct JobSchedule: MutableCollection, Sendable { // Update next scheduled date for each job schedule based off the last scheduled date stored do { if let date = try await self.jobQueue.getMetadata(.jobScheduleLastDate) { + self.jobQueue.logger.debug("Last scheduled date \(date).") for index in 0..