You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey Guys, thanks for the beautiful work with this lib. We are trying to set up a monthly scheduling task.
We are having an issue, with the On comand, when working with Monthly execution:
var inicio = new DateTime(2017. 1,30); JobManager.AddJob(acao, (s) => s.WithName(identificacao).ToRunOnceAt(inicio).AndEvery(intervalo).Months().On(inicio.Day).At(inicio.Hour, inicio.Minute));
When the On() method is called, the date of nextExecution is March 2nd, and it should be in the very last day of next month, Feb 28th.
I know if i can use the At() method in the Months() chain, we could have success, but the At method waits a MonthOnDayOfMonthUnit to do it, and we can see that only the On() method returns it.
Can you guys point me at right direction?
The text was updated successfully, but these errors were encountered:
Hey Guys, thanks for the beautiful work with this lib. We are trying to set up a monthly scheduling task.
We are having an issue, with the On comand, when working with Monthly execution:
var inicio = new DateTime(2017. 1,30); JobManager.AddJob(acao, (s) => s.WithName(identificacao).ToRunOnceAt(inicio).AndEvery(intervalo).Months().On(inicio.Day).At(inicio.Hour, inicio.Minute));
When the On() method is called, the date of nextExecution is March 2nd, and it should be in the very last day of next month, Feb 28th.
I know if i can use the At() method in the Months() chain, we could have success, but the At method waits a MonthOnDayOfMonthUnit to do it, and we can see that only the On() method returns it.
Can you guys point me at right direction?
The text was updated successfully, but these errors were encountered: