MonthlyByDayTaskScheduler

MonthlyByDayTaskScheduler
MonthlyByDayTaskScheduler

The MonthlyByDayTaskScheduler data object sets the time for monthly task execution.

You can set the schedule for task execution on one day during the month, and you complete the schedule by setting the inherited properties for the hour and minute.

By default the scheduler executes the task on the specified day every month. If you set the interval to a value greater than 1, the task will execute at the specified monthly interval. (For example, an interval of 2 will cause the task to execute on the specified day, hour, and minute every 2 months.)

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "activeTime": "string",
    "expireTime": "string",
    "interval": 0,
    "minute": 0,
    "hour": 0,
    "day": 0
}
integer As int32 As int32
day
Required

The day in every month to run the scheduled task.

Valid values are 1 to 31.

In any month where the value of "day" exceeds the total number of days in the month, the scheduled task will run on the last day of the month.