-
Notifications
You must be signed in to change notification settings - Fork 971
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
Schedule task on weekends or workweek #99
Comments
Hi @msoedov 👋 I like the general idea but we could run into some trouble finding an international definition of "weekend" vs "workweek":
(https://en.wikipedia.org/wiki/Workweek_and_weekend) On the other hand I don't want to overcomplicate this either 😃 . My gut feeling would be that it's "safer" to ask people to spell out the schedule explicitly on a day by day basis. Curious to hear your thoughts though! ~ Dan |
I would suggest to implement "weekend" and "workweek" in the traditional meaning. For those who have exceptional cases like
and believe it going to be less than 1% of users. Those can
|
I think it would be pretty easy for people to define their own weekend schedule. |
I would like something that did this for the cases when repeating the arguments to the job is messy. How about an alternative
A similar That would be very concise for the "default" case, and still completely customisable. For now, I'm going to use the following helper in my project:
|
That's would be very useful and I believe it's pretty common case
The text was updated successfully, but these errors were encountered: