From 82b204aa1f802868e1899615ce84f5458ea4dbdd Mon Sep 17 00:00:00 2001 From: Pilzinsel64 Date: Wed, 22 Oct 2025 07:53:53 +0200 Subject: [PATCH] fix --- Pilz/Jobs/JobCenter.cs | 3 +++ Pilz/Pilz.csproj | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Pilz/Jobs/JobCenter.cs b/Pilz/Jobs/JobCenter.cs index 500d0e0..fbfc7b5 100644 --- a/Pilz/Jobs/JobCenter.cs +++ b/Pilz/Jobs/JobCenter.cs @@ -43,6 +43,9 @@ public class JobCenter public virtual void Start() { + var now = DateTime.Now; + foreach (var job in jobs) + job.LastExecution = now; Enabled = true; timerRepeat.Start(); } diff --git a/Pilz/Pilz.csproj b/Pilz/Pilz.csproj index ed00c03..61d900d 100644 --- a/Pilz/Pilz.csproj +++ b/Pilz/Pilz.csproj @@ -5,7 +5,7 @@ latest enable annotations - 2.5.0 + 2.5.1