Quartz cron Expressions

Source: Internet
Author: User

1, the meaning of each field

Seconds 1 Seconds (0-59)

Sub 2 Minutes (0-59)
3 Hours (0-23)
Day 4 days of month (1-31)
Monthly 5 month (1-12 or JAN-DEC)
Week 6 day of week (1-7 or Sun-sat)
Year 7 years (1970-2099)

2. Special characters

"/": "1/20" means, starting from the 1th minute, every 20

“? ": Indicates a day of the month, or a day of the week

"W": indicated as the most recent weekday, "15w" monthly field to the nearest working day of month 15th

"#": The nth business day of the month, "6#3", means the third Friday of the month

",": Specify a number of values

"-": Specify range of values

"L": The last day of one months, or the last week of the week X

"*": Any value

Quartz cron Expressions

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.