WeeklyTaskScheduler

WeeklyTaskScheduler
WeeklyTaskScheduler

The WeeklyTaskScheduler data object sets the time for weekly task execution.

You can set the schedule for task execution on one or more days during the week, and you complete the schedule by setting the inherited properties for the hour and minute.

By default the scheduler executes the task according to the specified day(s) every week. If you set the interval to a value greater than 1, the task will execute at the specified weekly interval. (For example, an interval of 2 will cause the task to execute on the specified days every 2 weeks.)

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "activeTime": "string",
    "expireTime": "string",
    "interval": 0,
    "minute": 0,
    "hour": 0,
    "sunday": false,
    "monday": false,
    "tuesday": false,
    "wednesday": false,
    "thursday": false,
    "friday": false,
    "saturday": false
}
boolean
sunday
Required

The day or days of the week when the scheduled task will run.

At least one of the days must be true.

boolean
monday
Required

monday

boolean
tuesday
Required

tuesday

boolean
wednesday
Required

wednesday

boolean
thursday
Required

thursday

boolean
friday
Required

friday

boolean
saturday
Required

saturday