Skip to content

Commit 2756c36

Browse files
igormukhinsnicoll
authored andcommitted
Add aditional example to CronSequenceGenerator
CronSequenceGenerator supports comma separated expressions but does not provide an example for it. This commit adds such an example. Closes gh-1132
1 parent 43faabd commit 2756c36

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spring-context/src/main/java/org/springframework/scheduling/support/CronSequenceGenerator.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
* <li>"0 0 * * * *" = the top of every hour of every day.</li>
4343
* <li>"*&#47;10 * * * * *" = every ten seconds.</li>
4444
* <li>"0 0 8-10 * * *" = 8, 9 and 10 o'clock of every day.</li>
45+
* <li>"0 * 6,19 * * *" = 6:00 AM and 7:00 PM every day.</li>
4546
* <li>"0 0/30 8-10 * * *" = 8:00, 8:30, 9:00, 9:30 and 10 o'clock every day.</li>
4647
* <li>"0 0 9-17 * * MON-FRI" = on the hour nine-to-five weekdays</li>
4748
* <li>"0 0 0 25 12 ?" = every Christmas Day at midnight</li>

0 commit comments

Comments
 (0)