Previous page

Next page

Locate page in Contents

Print this page

weekly_triggerType

Summary:

This type is used to define a weekly schedule policy.

Type specification:

Extends triggerType

Adds the following elements:

Name

Min/Max

Type

Description

weeks_interval

1..1

int

The week interval from the range of 1 to 52. The number here determines the number of weeks between firings. For example, to execute a task every week, specify 1; to execute a task every other week, specify 2, etc.

day_of_week

1..7

none

The days of the week to execute the task on. The possible values are as follows:

0 -- Sunday

1 -- Monday

2 -- Tuesday

3 -- Wednesday

4 -- Thursday

5 -- Friday

6 -- Saturday

You may include as many as 7 occurrences of this element in a single packet, each specifying a day of the week on which the task should be execute. For example, to execute the task on every Monday and Wednesday, one occurrence should contain 1 and the other occurrence should contain 3.

Example:

Execute a task at midnight on every Monday, Wednesday, and Friday, every other week for 1 year.

<start_time>2007-03-01T00:00:00-0500</start_time>

<end_time>2008-03-01T00:00:00-0500</end_time>

<weeks_interval>2</weeks_interval>

<day_of_week>1</day_of_week>

<day_of_week>3</day_of_week>

<day_of_week>5</day_of_week>

Please send us your feedback on this help page