Cron expressions (used in quartz.net)
Consists of 7 segments: The second day of the Month and the Moon (optional)
"-": The range mon-wed represents Monday to Wednesday
",": The enumeration Mon,web represents Monday and Wednesday
"*": Table is "per", monthly, daily, weekly, yearly etc.
For the week inside, Sun=1 sat=6
"/": Represents the Increment: 0/15 (in minutes) every 15 minutes, starting after 0 minutes, 3/20 every 20 minutes, starting from 3 minutes later
"?": can only appear in the day, week segment, indicating that no specific value is specified
"L": can only appear in the day, the week paragraph inside, is the last abbreviation, one months of the final day, one weeks last day (Saturday)
"W": Indicates weekday, the most recent working day from the given value
"#": Represents the first few weeks of one months, for example: "6#3" means the third Friday of each month (1=sun ... 6=FRI,7=SAT)
Example:
"0 0/5 * * *?": Triggers every 5 minutes, starting from 0 seconds
"10 0/5 * * *?": triggered every 5 minutes, starting from 10 seconds later. (10:00:10AM, 10:05:10am)
"0 30 10-13?" * Wed,fri ": Represents 10:30,11:30,12:30,13:30, executed every one weeks, three and Friday
"0 0/30 8-9 5,20 *": 5th and 20th 8:00 per month, 8:30, 9:00, 9:30
Original: http://www.cnblogs.com/mszhangxuefei/p/3394840.html
Cron expressions (used in quartz.net)