Table of Contents

Constructor ScheduleWeekly

Namespace
Skyline.DataMiner.Core.Scheduler.Automation
Assembly
Skyline.DataMiner.Core.Scheduler.Automation.dll

ScheduleWeekly(DateTime, List<WeekDays>, int, int, DateTime)

Initializes a new instance of the ScheduleWeekly class. Creates a Schedule Weekly Repetition Process.

public ScheduleWeekly(DateTime taskStartDate, List<WeekDays> weekDaysToRepeat, int maxRepeats = -1, int minutesRepeatInterval = -1, DateTime taskEndDate = default)

Parameters

taskStartDate DateTime

Indicates the Start Date Time of the Scheduler Task.

weekDaysToRepeat List<WeekDays>

Indicates the Week Days to Repeat the Scheduler Task.

maxRepeats int

Indicates how many times the task will be executed before finishing.

minutesRepeatInterval int

Indicates the interval of minutes before executing the Scheduler Task again ('Repeated Every x Minutes').

taskEndDate DateTime

Indicates the End Date Time of the Scheduler Task.

Exceptions

ArgumentNullException

Throw if the weekDaysToRepeat is null.

ArgumentNullException

Throw if the weekDaysToRepeat is null.