esx settings depots sync schedule: schedule

The schedule structure defines a schedule.

Representation:

{
    "hour"1,
    "skip"1,
    "type""HOURLY",
    "day_of_month"1,
    "minute"1,
    "day_of_week""SUNDAY"
}

Attributes:

Name Type Description
Required
type string Frequency of the schedule.

Contains the supported values for how often to sync from online or UMDS depots. Value is one of:
HOURLY: Hourly.
DAILY: Daily.
WEEKLY: Weekly.
MONTHLY_BY_DAY: Monthly by day.

Optional
skip long This determines the units of recurrence to skip before the scheduled task runs again. For example, value of 1 for HOURLY type means the scheduled task runs every 2 hours. The value must be within the range 0 to 998.

Optional. It is only relevant when type has value [HOURLY, DAILY, WEEKLY, MONTHLY_BY_DAY]. If unset, no unit is skipped.

minute long Minute at which schedule should be run. The value must be within the range 0 to 59.

Optional. It is only relevant when type has value [HOURLY, DAILY, WEEKLY, MONTHLY_BY_DAY]. This field is optional and it is only relevant when the value of type is one of HOURLY, DAILY, WEEKLY, or MONTHLY_BY_DAY.

hour long Hour at which schedule should be run. The value must be within the range 0 to 23.

Optional. It is only relevant when type has value [DAILY, WEEKLY, MONTHLY_BY_DAY]. This field is optional and it is only relevant when the value of type is one of DAILY, WEEKLY, or MONTHLY_BY_DAY.

day_of_month long Day at which schedule should be run. The value must be within the range 1 to 31. If the value exceeds the total number of days in the month, the schedule will run on the last day of the month.

Optional. It is only relevant when type has value [MONTHLY_BY_DAY]. This field is optional and it is only relevant when the value of type is MONTHLY_BY_DAY.

day_of_week string Day of the week when schedule should be run

Contains the supported days of the week. Value is one of:
SUNDAY: Sunday.
MONDAY: Monday.
TUESDAY: Tuesday.
WEDNESDAY: Wednesday.
THURSDAY: Thursday.
FRIDAY: Friday.
SATURDAY: Saturday.Optional. It is only relevant when type has value [WEEKLY]. This field is optional and it is only relevant when the value of type is WEEKLY.