You should use cron based scheduling. If you really want a trigger
that runs only on *some* months, midnight in this sample (0, 0, 0):
ITrigger trigger = TriggerBuilder.Create().WithCronSchedule("0 0 0 31
* ?").Build();
// or alternatively
ITrigger trigger =
CronScheduleBuilder.MonthlyOnDayAndHourAndMinute(31, 0, 0).Build();
A trigger that would run on the last day of every month:
ITrigger trigger = (IOperableTrigger)
TriggerBuilder.Create().WithCronSchedule("0 0 0 L * ?").Build();
-Marko
> --
> You received this message because you are subscribed to the Google Groups
> "Quartz.NET" group.
> To view this discussion on the web visit
>
https://groups.google.com/d/msg/quartznet/-/VKQ-L0iX3lUJ.
> To post to this group, send email to
quar...@googlegroups.com.
> To unsubscribe from this group, send email to
>
quartznet+...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/quartznet?hl=en.