module RSpec::Puppet::Windows::TaskSchedulerConstants
Constants
- ABOVE_NORMAL_PRIORITY_CLASS
- BELOW_NORMAL_PRIORITY_CLASS
- CLSCTX_INPROC_SERVER
- CLSID_CTask
- CLSID_CTaskScheduler
- HIGH_PRIORITY_CLASS
- IDLE_PRIORITY_CLASS
- IID_IPersistFile
- IID_ITask
- IID_ITaskScheduler
- NORMAL_PRIORITY_CLASS
- REALTIME_PRIORITY_CLASS
Priority classes
- SYSTEM_USERS
- TASKS_TO_RETRIEVE
- TASK_APRIL
The task will run in April
- TASK_AUGUST
The task will run in August
- TASK_CREATE
- TASK_CREATE_OR_UPDATE
- TASK_DECEMBER
The task will run in December
- TASK_DISABLE
- TASK_DONT_ADD_PRINCIPAL_ACE
- TASK_EIGHTEENTH
- TASK_EIGHTH
- TASK_ELEVENTH
- TASK_EVENT_TRIGGER_AT_LOGON
Trigger is set to run the task when a user logs on
- TASK_EVENT_TRIGGER_AT_SYSTEMSTART
Trigger is set to run the task at system startup
- TASK_EVENT_TRIGGER_ON_IDLE
Trigger is set to run the task if the system remains idle for the amount of time specified by the idle wait time of the task
- TASK_FEBRUARY
The task will run in February
- TASK_FIFTEENTH
- TASK_FIFTH
- TASK_FIRST
Days of month
- TASK_FIRST_WEEK
The task will run between the 1st and 7th day of the month
- TASK_FLAG_DELETE_WHEN_DONE
The work item will be deleted when there are no more scheduled run times
- TASK_FLAG_DISABLED
The work item is disabled. Useful for temporarily disabling a task
- TASK_FLAG_DONT_START_IF_ON_BATTERIES
The work item does not start if the computer is running on battery power
- TASK_FLAG_HIDDEN
The work item created will be hidden
- TASK_FLAG_INTERACTIVE
Used when converting AT service jobs into work items
- TASK_FLAG_KILL_IF_GOING_ON_BATTERIES
The work item ends, and the associated application quits, if the computer switches to battery power
- TASK_FLAG_KILL_ON_IDLE_END
The work item terminates if the computer makes an idle to non-idle transition while the work item is running
- TASK_FLAG_RESTART_ON_IDLE_RESUME
The work item starts again if the computer makes a non-idle to idle transition
- TASK_FLAG_RUN_IF_CONNECTED_TO_INTERNET
The work item runs only if there is a valid internet connection
- TASK_FLAG_RUN_ONLY_IF_DOCKED
The work item starts only if the computer is in a docking station
- TASK_FLAG_RUN_ONLY_IF_LOGGED_ON
The work item runs only if a specified account is logged on interactively
- TASK_FLAG_START_ONLY_IF_IDLE
The work item begins only if the computer is not in use at the scheduled start time
- TASK_FLAG_SYSTEM_REQUIRED
The work item causes the system to be resumed, or awakened, if the system is running on batter power
- TASK_FOURTEENTH
- TASK_FOURTH
- TASK_FOURTH_WEEK
The task will run between the 22nd and 28th day of the month
- TASK_FRIDAY
The task will run on Friday
- TASK_IGNORE_REGISTRATION_TRIGGERS
- TASK_JANUARY
The task will run in January
- TASK_JULY
The task will run in July
- TASK_JUNE
The task will run in June
- TASK_LAST
- TASK_LAST_WEEK
The task will run the last seven days of the month
- TASK_LOGON_GROUP
Group activation. The groupId field specifies the group
- TASK_LOGON_INTERACTIVE_TOKEN
Task will be run only in an existing interactive session
- TASK_LOGON_INTERACTIVE_TOKEN_OR_PASSWORD
Not in use; currently identical to
TASK_LOGON_PASSWORD
- TASK_LOGON_NONE
Logon Types Used for non-NT credentials
- TASK_LOGON_PASSWORD
Use a password for logging on the user
- TASK_LOGON_S4U
The service will log the user on using Service For User
- TASK_LOGON_SERVICE_ACCOUNT
When Local System, Local Service, or Network Service account is being used as a security context to run the task
- TASK_MARCH
The task will run in March
- TASK_MAX_RUN_TIMES
- TASK_MAY
The task will run in May
- TASK_MONDAY
The task will run on Monday
- TASK_NINETEENTH
- TASK_NINETH
- TASK_NOVEMBER
The task will run in November
- TASK_OCTOBER
The task will run in October
- TASK_RUNLEVEL_HIGHEST
Tasks will be run with the highest privileges
- TASK_RUNLEVEL_LUA
Run Level Types Tasks will be run with the least privileges
- TASK_SATURDAY
The task will run on Saturday
- TASK_SECOND
- TASK_SECOND_WEEK
The task will run between the 8th and 14th day of the month
- TASK_SEPTEMBER
The task will run in September
- TASK_SEVENTEENTH
- TASK_SEVENTH
- TASK_SIXTEENTH
- TASK_SIXTH
- TASK_SUNDAY
The task will run on Sunday
- TASK_TENTH
- TASK_THIRD
- TASK_THIRD_WEEK
The task will run between the 15th and 21st day of the month
- TASK_THIRTEENTH
- TASK_THIRTYETH
- TASK_THIRTY_FIRST
- TASK_THURSDAY
The task will run on Thursday
- TASK_TIME_TRIGGER_DAILY
Trigger is set to run the task on a daily interval
- TASK_TIME_TRIGGER_MONTHLYDATE
Trigger is set to run the task on specific day(s) of the month
- TASK_TIME_TRIGGER_MONTHLYDOW
Trigger is set to run the task on specific day(s) of the month
- TASK_TIME_TRIGGER_ONCE
Trigger is set to run the task a single time
- TASK_TIME_TRIGGER_WEEKLY
Trigger is set to run the task on specific days of a specific week & month
- TASK_TRIGGER_FLAG_DISABLED
The task trigger is disabled
- TASK_TRIGGER_FLAG_HAS_END_DATE
The task will stop at some point in time
- TASK_TRIGGER_FLAG_KILL_AT_DURATION_END
The task can be stopped at the end of the repetition period
- TASK_TRIGGER_REGISTRATION
- TASK_TRIGGER_SESSION_STATE_CHANGE
- TASK_TUESDAY
The task will run on Tuesday
- TASK_TWELFTH
- TASK_TWENTIETH
- TASK_TWENTY_EIGHTH
- TASK_TWENTY_FIFTH
- TASK_TWENTY_FIRST
- TASK_TWENTY_FOURTH
- TASK_TWENTY_NINTH
- TASK_TWENTY_SECOND
- TASK_TWENTY_SEVENTH
- TASK_TWENTY_SIXTH
- TASK_TWENTY_THIRD
- TASK_UPDATE
- TASK_VALIDATE_ONLY
Task creation
- TASK_WEDNESDAY
The task will run on Wednesday