JobRecurrenceSchedule Class

JobRecurrenceSchedule.

Inheritance
JobRecurrenceSchedule

Constructor

JobRecurrenceSchedule(*, week_days=None, hours=None, minutes=None, month_days=None, monthly_occurrences=None, **kwargs)

Parameters

week_days
list[str or DayOfWeek]
Required

Gets or sets the days of the week that the job should execute on.

hours
list[int]
Required

Gets or sets the hours of the day that the job should execute at.

minutes
list[int]
Required

Gets or sets the minutes of the hour that the job should execute at.

month_days
list[int]
Required

Gets or sets the days of the month that the job should execute on. Must be between 1 and 31.

monthly_occurrences
list[JobRecurrenceScheduleMonthlyOccurrence]
Required

Gets or sets the occurrences of days within a month.