Background task execution intervals are now user configurable (#209)

* Store background task intervals in database

* Background task intervals are now user customisable
This commit is contained in:
Michael Green
2023-12-01 13:28:41 +11:00
committed by GitHub
parent 0bf2ba5d96
commit b564edb158
5 changed files with 235 additions and 29 deletions

View File

@@ -67,7 +67,17 @@ namespace gaseous_server
return LastRunTime.AddMinutes(Interval);
}
}
public int Interval => _Interval;
public int Interval
{
get
{
return _Interval;
}
set
{
_Interval = value;
}
}
public string LastResult => _LastResult;
public string? LastError => _LastError;
public bool Force => _ForceExecute;