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

[Version 6.0] Hours, Minutes and Seconds not returning RestrictionUnit #322

Open
jasonlaw opened this issue May 23, 2022 · 0 comments
Open

Comments

@jasonlaw
Copy link

Hi,

Any reason why Hours, Minutes and Seconds are not returning RestrictionUnit?
In version 5, we can specify the time to run after the Hours, it is no longer available in version 6.0

        JobManager.AddJob(() => PollModule.ExecutePollReminder(1),
                            run => run
                                    .WithName("PollReminder")
                                    .ToRunEvery(1)
                                    .Hours()
                                    .At(1));  // <-- no longer able in version 6
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

1 participant