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