TestimoX

API Reference

Class

TaskDefinitionSpec

Namespace ComputerX.ScheduledTasks
Assembly ComputerX
Modifiers sealed

Minimal task definition for Exec-based tasks (single action) with basic triggers and principal.

Inheritance

  • Object
  • TaskDefinitionSpec

Constructors

Properties

public String Path { get; set; } #

Full task path (folder + name), e.g., \MyTasks\Example.

public String Description { get; set; } #

Optional description to store on the task.

public ExecActionSpec Action { get; set; } #

Exec action to run.

public IReadOnlyList<TriggerSpec> Triggers { get; set; } #

Zero or more triggers; when empty, the task is created without triggers.

public PrincipalSpec Principal { get; set; } #

Optional principal information.

public Boolean Enabled { get; set; } #

Whether the task is enabled after creation or update. Defaults to true.