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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user