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

Add .Between(TimeSpan, TimeSpan) and .Every(TimeSpan) #260

Closed
SSantiagoDev opened this issue Oct 17, 2019 · 1 comment
Closed

Add .Between(TimeSpan, TimeSpan) and .Every(TimeSpan) #260

SSantiagoDev opened this issue Oct 17, 2019 · 1 comment

Comments

@SSantiagoDev
Copy link

Hello,

First of all, great project!! :)
Maybe I missunderstand the UnitTests but I don't see a way to do something like this:

schedule.ToRunEvery(1).Weeks().On(DayOfWeek.Monday).Between(new TimeSpan(10, 00, 00), new TimeSpan(11, 00, 00)).Every(new TimeSpan(00, 05, 00);

So basically, I would like to run:

  • every week
  • on Monday (and some other days of the week)
  • between 10 AM and 11 AM
  • every 5 minutes

Is it possible with the current implementation?

@tallesl tallesl closed this as completed Aug 2, 2020
@tallesl
Copy link
Contributor

tallesl commented Aug 2, 2020

Edit: Sorry, it's not possible :(

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