Class: PuppetX::PuppetLabs::ScheduledTask::Task::TASK_CREATION
- Inherits:
-
Object
- Object
- PuppetX::PuppetLabs::ScheduledTask::Task::TASK_CREATION
- Defined in:
- lib/puppet_x/puppetlabs/scheduled_task/task.rb
Overview
Constant Summary collapse
- TASK_VALIDATE_ONLY =
The Task Scheduler service checks the syntax of the XML that describes the task but does not register the task. This constant cannot be combined with the TASK_CREATE, TASK_UPDATE, or TASK_CREATE_OR_UPDATE values.
0x1
- TASK_CREATE =
The Task Scheduler service registers the task as a new task.
0x2
- TASK_UPDATE =
The Task Scheduler service registers the task as an updated version of an existing task. When a task with a registration trigger is updated, the task will execute after the update occurs.
0x4
- TASK_CREATE_OR_UPDATE =
( TASK_CREATE | TASK_UPDATE )
0x6
- TASK_DISABLE =
The Task Scheduler service registers the disabled task. A disabled task cannot run until it is enabled. For more information, see Enabled Property of ITaskSettings and Enabled Property of IRegisteredTask.
0x8
- TASK_DONT_ADD_PRINCIPAL_ACE =
The Task Scheduler service is prevented from adding the allow access-control entry (ACE) for the context principal. When the ITaskFolder::RegisterTaskDefinition or ITaskFolder::RegisterTask functions are called with this flag to update a task, the Task Scheduler service does not add the ACE for the new context principal and does not remove the ACE from the old context principal.
0x10
- TASK_IGNORE_REGISTRATION_TRIGGERS =
The Task Scheduler service creates the task, but ignores the registration triggers in the task. By ignoring the registration triggers, the task will not execute when it is registered unless a time-based trigger causes it to execute on registration.
0x20