-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added options to configure machines allowed to run and global suppres…
…sion of system machine setting
- Loading branch information
1 parent
8559775
commit 288241f
Showing
6 changed files
with
85 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
namespace Marquitos.Schedulers | ||
{ | ||
/// <summary> | ||
/// SchedulerService Options | ||
/// </summary> | ||
public class SchedulerServiceOptions | ||
{ | ||
/// <summary> | ||
/// Suppress machine system enabled setting (SCHEDULER_SERVICE_ENABLED) | ||
/// </summary> | ||
public bool SuppressMachineSystemEnabledSetting { get; set; } = false; | ||
|
||
/// <summary> | ||
/// If provided, the service engine will only execute the scheduled Task on those machines | ||
/// </summary> | ||
public IEnumerable<string> MachinesAllowedToRun { get; set; } = new List<string>(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters