API Reference
ExecTaskRequest
Represents a request to create or update an Exec-based scheduled task.
Inheritance
- Object
- ExecTaskRequest
Constructors
public ExecTaskRequest() #Methods
public Boolean TryValidate(ExecTaskBuildMode mode, out String error) #BooleanValidates the request using the rules for the specified build mode.
Parameters
- mode ComputerX.ScheduledTasks.ExecTaskBuildMode
- error System.String@
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public String Path { get; set; } #Gets or sets the full task path (e.g., \Folder\TaskName).
public String Command { get; set; } #Gets or sets the executable path for the task action.
public String Arguments { get; set; } #Gets or sets optional command arguments.
public String WorkingDirectory { get; set; } #Gets or sets an optional working directory for the task action.
public String Description { get; set; } #Gets or sets an optional task description.
public Nullable<TriggerKind> TriggerKind { get; set; } #Gets or sets the trigger kind (Once, Daily, AtStartup, AtLogon).
public Nullable<DateTime> StartBoundary { get; set; } #Gets or sets the trigger start boundary (Once/Daily).
public Nullable<TimeSpan> Interval { get; set; } #Gets or sets the trigger repeat interval (Daily).
public String RunAsUser { get; set; } #Gets or sets the account to run the task as (SYSTEM, NT AUTHORITY\SYSTEM, DOMAIN\User, or gMSA DOMAIN\name$).
public Boolean RunElevated { get; set; } #Gets or sets a value indicating whether to run with highest privileges.
public String LogonType { get; set; } #Gets or sets an optional logon type hint (Password, S4U, ServiceAccount).