Skip to content

Latest commit

 

History

History
72 lines (42 loc) · 1.88 KB

trigger-repetition.md

File metadata and controls

72 lines (42 loc) · 1.88 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
Trigger.Repetition property
For scripting, gets or sets a value that indicates how often the task is run and how long the repetition pattern is repeated after the task is started.
f90b935c-8b69-4c82-ac4b-6b049e7b9703
Repetition property Task Scheduler
Repetition property Task Scheduler , Trigger object
Trigger object Task Scheduler , Repetition property
apiref
Trigger.Repetition
taskschd.dll
COM
reference
05/31/2018

Trigger.Repetition property

For scripting, gets or sets a value that indicates how often the task is run and how long the repetition pattern is repeated after the task is started.

Syntax

Trigger.Repetition As RepetitionPattern

Property value

A RepetitionPattern object that defines how often the task is run and how long the repetition pattern is repeated after the task is started.

Remarks

When reading or writing your own XML for a task, the repetition pattern for a trigger is specified in the Repetition element of the Task Scheduler schema.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Type library
Taskschd.tlb
DLL
Taskschd.dll

See also

Task Scheduler

RepetitionPattern