diff --git a/ICD.Common.Utils/Services/Scheduler/AbstractScheduledAction.cs b/ICD.Common.Utils/Services/Scheduler/AbstractScheduledAction.cs
index bcfc6fd..205445c 100644
--- a/ICD.Common.Utils/Services/Scheduler/AbstractScheduledAction.cs
+++ b/ICD.Common.Utils/Services/Scheduler/AbstractScheduledAction.cs
@@ -25,11 +25,10 @@ namespace ICD.Common.Utils.Services.Scheduler
public void Run()
{
- RunFinal();
- NextRunTimeUtc = GetNextRunTimeUtc();
+ NextRunTimeUtc = RunFinal();
}
- public void UpdateNextRunTime()
+ protected void UpdateNextRunTime()
{
NextRunTimeUtc = GetNextRunTimeUtc();
}
@@ -37,11 +36,11 @@ namespace ICD.Common.Utils.Services.Scheduler
///
/// Runs when the action has hit its scheduled time
///
- public abstract void RunFinal();
+ protected abstract DateTime? RunFinal();
///
/// Runs after RunFinal in order to set the next run time of this action
///
- public abstract DateTime? GetNextRunTimeUtc();
+ protected abstract DateTime? GetNextRunTimeUtc();
}
}
\ No newline at end of file