-
-
Notifications
You must be signed in to change notification settings - Fork 313
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add .MonthLastDay() to schedule a task at the end of each month (#250)
* scheduler: add .MonthLastDay() to schedule a task at the end of a month. Fixes #224 * MonthLastDay: add examples in README.md and example_test * scheduler: only allow -1 as single argument Month(s), add a test case to support this * example_test: alphabetize ExampleScheduler_MonthLastDay * scheduler: when scheduling on last day of month, take into account starting earlier than last day of the month and then schedule the job in the same month Co-authored-by: John Roesler <[email protected]>
- Loading branch information
1 parent
034e2dc
commit 5dd4543
Showing
4 changed files
with
69 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters