atifaziz / NCrontab

Crontab for .NET

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't get `GetNextOccurrence` working

Rainer-Eder opened this issue · comments

At the moment I am using GetNextOccurrences(...) with an END time seven days ahead of NOW() and the weekly rotating schedule works great. What needs to be done to get GetNextOccurrence(...) work and to avoid trouble with greater gaps (months, years) without increasing END to NOW() plus 365 days?

I'm not sure I understand your problem. Could you please provide code with the expected and actual output to demonstrate the issue you're experiencing? Thanks.