Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weeks() not working as expected #290

Open
ElizCarvalho opened this issue Dec 1, 2020 · 1 comment
Open

Weeks() not working as expected #290

ElizCarvalho opened this issue Dec 1, 2020 · 1 comment

Comments

@ElizCarvalho
Copy link

Hi,

I'm setting up a job to run every Monday at 10 am:
registry.Schedule(() => new MyJob()).ToRunEvery(0).Weeks().On(DayOfWeek.Monday).At(10,0);

However he apparently runs the first time and doesn't run anymore.

Am I doing the job setup correctly or is there a problem with this functionality? Can you help me?

Thank you very much in advance

@MustafaE-ext
Copy link

0 means dont need to wait 1 week, make it 1 and wait for 1 week to see if its working..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants