Skip to main content

Schedule

Properties

NameTypeDescriptionNotes
typeEnum [ 'WEEKLY', 'MONTHLY', 'ANNUALLY', 'CALENDAR' ]Determines the overall schedule cadence. In general, all time period fields smaller than the chosen type can be configured. For example, a DAILY schedule can have 'hours' set, but not 'days'; a WEEKLY schedule can have both 'hours' and 'days' set.[required]
monthsScheduleMonths[optional]
daysScheduleDays[optional]
hoursScheduleHours[required]
expirationdatetimeSpecifies the time after which this schedule will no longer occur.[optional]
time_zone_idstrThe time zone to use when running the schedule. For instance, if the schedule is scheduled to run at 1AM, and this field is set to "CST", the schedule will run at 1AM CST.[optional]
}

Example

from sailpoint.beta.models.schedule import Schedule

schedule = Schedule(
type='WEEKLY',
months=sailpoint.beta.models.schedule_months.Schedule_months(
type = 'LIST',
values = [1],
interval = 2, ),
days=sailpoint.beta.models.schedule_days.Schedule_days(
type = 'LIST',
values = [1],
interval = 2, ),
hours=sailpoint.beta.models.schedule_hours.Schedule_hours(
type = 'LIST',
values = [1],
interval = 2, ),
expiration=datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
time_zone_id='CST'
)

[Back to top]