Skip to content

Latest commit

 

History

History
111 lines (78 loc) · 5.55 KB

ne-taskschd-task_trigger_type2.md

File metadata and controls

111 lines (78 loc) · 5.55 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NE:taskschd._TASK_TRIGGER_TYPE2
TASK_TRIGGER_TYPE2 (taskschd.h)
Defines the type of triggers that can be used by tasks.
TASK_TRIGGER_BOOT
TASK_TRIGGER_DAILY
TASK_TRIGGER_EVENT
TASK_TRIGGER_IDLE
TASK_TRIGGER_LOGON
TASK_TRIGGER_MONTHLY
TASK_TRIGGER_MONTHLYDOW
TASK_TRIGGER_REGISTRATION
TASK_TRIGGER_SESSION_STATE_CHANGE
TASK_TRIGGER_TIME
TASK_TRIGGER_TYPE2
TASK_TRIGGER_TYPE2 enumeration [Task Scheduler]
TASK_TRIGGER_WEEKLY
taskschd.triggertype
taskschd/TASK_TRIGGER_BOOT
taskschd/TASK_TRIGGER_DAILY
taskschd/TASK_TRIGGER_EVENT
taskschd/TASK_TRIGGER_IDLE
taskschd/TASK_TRIGGER_LOGON
taskschd/TASK_TRIGGER_MONTHLY
taskschd/TASK_TRIGGER_MONTHLYDOW
taskschd/TASK_TRIGGER_REGISTRATION
taskschd/TASK_TRIGGER_SESSION_STATE_CHANGE
taskschd/TASK_TRIGGER_TIME
taskschd/TASK_TRIGGER_TYPE2
taskschd/TASK_TRIGGER_WEEKLY
taskschd\triggertype.htm
taskschd
489015a1-5a3c-4994-aa1f-bc02dfff149d
12/05/2018
TASK_TRIGGER_BOOT, TASK_TRIGGER_DAILY, TASK_TRIGGER_EVENT, TASK_TRIGGER_IDLE, TASK_TRIGGER_LOGON, TASK_TRIGGER_MONTHLY, TASK_TRIGGER_MONTHLYDOW, TASK_TRIGGER_REGISTRATION, TASK_TRIGGER_SESSION_STATE_CHANGE, TASK_TRIGGER_TIME, TASK_TRIGGER_TYPE2, TASK_TRIGGER_TYPE2 enumeration [Task Scheduler], TASK_TRIGGER_WEEKLY, taskschd.triggertype, taskschd/TASK_TRIGGER_BOOT, taskschd/TASK_TRIGGER_DAILY, taskschd/TASK_TRIGGER_EVENT, taskschd/TASK_TRIGGER_IDLE, taskschd/TASK_TRIGGER_LOGON, taskschd/TASK_TRIGGER_MONTHLY, taskschd/TASK_TRIGGER_MONTHLYDOW, taskschd/TASK_TRIGGER_REGISTRATION, taskschd/TASK_TRIGGER_SESSION_STATE_CHANGE, taskschd/TASK_TRIGGER_TIME, taskschd/TASK_TRIGGER_TYPE2, taskschd/TASK_TRIGGER_WEEKLY
taskschd.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Windows
TASK_TRIGGER_TYPE2
19H1
_TASK_TRIGGER_TYPE2
taskschd/_TASK_TRIGGER_TYPE2
TASK_TRIGGER_TYPE2
taskschd/TASK_TRIGGER_TYPE2
c++
APIRef
kbSyntax
HeaderDef
taskschd.h
TASK_TRIGGER_TYPE2

TASK_TRIGGER_TYPE2 enumeration

-description

Defines the type of triggers that can be used by tasks.

-enum-fields

-field TASK_TRIGGER_EVENT:0

Triggers the task when a specific event occurs. For more information about event triggers, see IEventTrigger.

-field TASK_TRIGGER_TIME:1

Triggers the task at a specific time of day. For more information about time triggers, see ITimeTrigger.

-field TASK_TRIGGER_DAILY:2

Triggers the task on a daily schedule. For example, the task starts at a specific time every day, every other day, or every third day. For more information about daily triggers, see IDailyTrigger.

-field TASK_TRIGGER_WEEKLY:3

Triggers the task on a weekly schedule. For example, the task starts at 8:00 AM on a specific day every week or other week. For more information about weekly triggers, see IWeeklyTrigger.

-field TASK_TRIGGER_MONTHLY:4

Triggers the task on a monthly schedule. For example, the task starts on specific days of specific months. For more information about monthly triggers, see IMonthlyTrigger.

-field TASK_TRIGGER_MONTHLYDOW:5

Triggers the task on a monthly day-of-week schedule. For example, the task starts on a specific days of the week, weeks of the month, and months of the year. For more information about monthly day-of-week triggers, see IMonthlyDOWTrigger.

-field TASK_TRIGGER_IDLE:6

Triggers the task when the computer goes into an idle state. For more information about idle triggers, see IIdleTrigger.

-field TASK_TRIGGER_REGISTRATION:7

Triggers the task when the task is registered. For more information about registration triggers, see IRegistrationTrigger.

-field TASK_TRIGGER_BOOT:8

Triggers the task when the computer boots. For more information about boot triggers, see IBootTrigger.

-field TASK_TRIGGER_LOGON:9

Triggers the task when a specific user logs on. For more information about logon triggers, see ILogonTrigger.

-field TASK_TRIGGER_SESSION_STATE_CHANGE:11

Triggers the task when a specific user session state changes. For more information about session state change triggers, see ISessionStateChangeTrigger.

-field TASK_TRIGGER_CUSTOM_TRIGGER_01:12

-see-also

Task Scheduler

Task Scheduler Enumerated Types