Constructor ScheduleMonthly
- Namespace
- Skyline.DataMiner.Core.Scheduler.Automation
- Assembly
- Skyline.DataMiner.Core.Scheduler.Automation.dll
ScheduleMonthly(DateTime, List<Months>, List<int>, int, int, DateTime)
Initializes a new instance of the ScheduleMonthly class. Creates a Schedule Monthly Repetition Process.
public ScheduleMonthly(DateTime taskStartDate, List<Months> monthsToRepeat, List<int> monthDaysToRepeat, int maxRepeats = -1, int minutesRepeatInterval = -1, DateTime taskEndDate = default)
Parameters
taskStartDate
DateTimeIndicates the Start Date Time of the Scheduler Task.
monthsToRepeat
List<Months>Indicates the Months to Repeat the Scheduler Task.
monthDaysToRepeat
List<int>Indicates the Days in the Month where the Scheduler Task should be repeated.
maxRepeats
intIndicates how many times the task will be executed before finishing.
minutesRepeatInterval
intIndicates the interval of minutes before executing the Scheduler Task again ('Repeated Every x Minutes').
taskEndDate
DateTimeIndicates the End Date Time of the Scheduler Task after being Repeated Every x Minutes.