Skip to content

/AWS1/CL_EC2SCHDINSTRECURREN00

Describes the recurring schedule for a Scheduled Instance.

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_FREQUENCY TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The frequency (Daily, Weekly, or Monthly).

IV_INTERVAL TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

The interval quantity. The interval unit depends on the value of Frequency. For example, every 2 weeks or every 2 months.

IT_OCCURRENCEDAYS TYPE /AWS1/CL_EC2OCCURRENCEDAYREQ00=>TT_OCCURRENCEDAYREQUESTSET TT_OCCURRENCEDAYREQUESTSET

The days. For a monthly schedule, this is one or more days of the month (1-31). For a weekly schedule, this is one or more days of the week (1-7, where 1 is Sunday). You can't specify this value with a daily schedule. If the occurrence is relative to the end of the month, you can specify only a single day.

IV_OCCURRENCERELATIVETOEND TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

Indicates whether the occurrence is relative to the end of the specified week or month. You can't specify this value with a daily schedule.

IV_OCCURRENCEUNIT TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The unit for OccurrenceDays (DayOfWeek or DayOfMonth). This value is required for a monthly schedule. You can't specify DayOfWeek with a weekly schedule. You can't specify this value with a daily schedule.


Queryable Attributes

Frequency

The frequency (Daily, Weekly, or Monthly).

Accessible with the following methods

Method Description
GET_FREQUENCY() Getter for FREQUENCY, with configurable default
ASK_FREQUENCY() Getter for FREQUENCY w/ exceptions if field has no value
HAS_FREQUENCY() Determine if FREQUENCY has a value

Interval

The interval quantity. The interval unit depends on the value of Frequency. For example, every 2 weeks or every 2 months.

Accessible with the following methods

Method Description
GET_INTERVAL() Getter for INTERVAL, with configurable default
ASK_INTERVAL() Getter for INTERVAL w/ exceptions if field has no value
HAS_INTERVAL() Determine if INTERVAL has a value

OccurrenceDays

The days. For a monthly schedule, this is one or more days of the month (1-31). For a weekly schedule, this is one or more days of the week (1-7, where 1 is Sunday). You can't specify this value with a daily schedule. If the occurrence is relative to the end of the month, you can specify only a single day.

Accessible with the following methods

Method Description
GET_OCCURRENCEDAYS() Getter for OCCURRENCEDAYS, with configurable default
ASK_OCCURRENCEDAYS() Getter for OCCURRENCEDAYS w/ exceptions if field has no valu
HAS_OCCURRENCEDAYS() Determine if OCCURRENCEDAYS has a value

OccurrenceRelativeToEnd

Indicates whether the occurrence is relative to the end of the specified week or month. You can't specify this value with a daily schedule.

Accessible with the following methods

Method Description
GET_OCCURRENCERELATIVETOEND() Getter for OCCURRENCERELATIVETOEND, with configurable defaul
ASK_OCCURRENCERELATIVETOEND() Getter for OCCURRENCERELATIVETOEND w/ exceptions if field ha
HAS_OCCURRENCERELATIVETOEND() Determine if OCCURRENCERELATIVETOEND has a value

OccurrenceUnit

The unit for OccurrenceDays (DayOfWeek or DayOfMonth). This value is required for a monthly schedule. You can't specify DayOfWeek with a weekly schedule. You can't specify this value with a daily schedule.

Accessible with the following methods

Method Description
GET_OCCURRENCEUNIT() Getter for OCCURRENCEUNIT, with configurable default
ASK_OCCURRENCEUNIT() Getter for OCCURRENCEUNIT w/ exceptions if field has no valu
HAS_OCCURRENCEUNIT() Determine if OCCURRENCEUNIT has a value