Commit 2303c5e
authored
Add daysOfMonth() method to schedule tasks on specific days (#57817)
- Allows scheduling tasks to run on multiple specific days of the month
- Supports both array and variadic syntax: daysOfMonth(1, 15) or daysOfMonth([1, 15])
- Useful for tasks that need to run on specific dates (payroll, reports, etc.)
- Add comprehensive tests1 parent 46bd07c commit 2303c5e
File tree
2 files changed
+27
-0
lines changed- src/Illuminate/Console/Scheduling
- tests/Console/Scheduling
2 files changed
+27
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
568 | 568 | | |
569 | 569 | | |
570 | 570 | | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
571 | 586 | | |
572 | 587 | | |
573 | 588 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
107 | 119 | | |
0 commit comments