In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains the "spring timer time expression finishing", the article explains the content is simple and clear, easy to learn and understand, now please follow the editor's train of thought slowly in depth, together to study and learn "spring timer time expression finishing" it!
Special characters allowed for field allowable values
Seconds 0-59,-* /
Score 0-59,-* /
0-23 hours,-* /
Date 1-31,-*? / L W C
Month 1-12 or JAN-DEC,-* /
Monday-7 or SUN-SAT,-*? / L C #
Year (optional) left blank, 1970-2099,-* /
Expression meaning
"0 012 *?" Triggered at 12:00 every day
"0 15 10? *" triggered at 10:15 every morning
"0 15 10 *?" Triggered at 10:15 every morning
"0 15 10 *?" triggered at 10:15 every morning
"0 15 10 *? 2005" triggered at 10:15 every morning in 2005.
"0 * 14 *?" Triggered every minute between 2pm and 2:59 every day
"0 0tico 5 14 * *?" Triggered every 5 minutes between 2pm and 2:55 every day
"0 0 take 5 14 14 18 * *?" Triggered every 5 minutes between 2pm and 2:55 and between 6pm and 6:55 every day
"0 0-5 14 *?" Triggered every minute between 2pm and 2:05 every day
"010 WED 44 14? 3 trigger every year at 2:10 and 2:44 on Wednesday in March."
"0 15 10? * MON-FRI" triggered at 10:15 from Monday to Friday
"0 15 10 15 *?" Triggered at 10:15 on the 15th of each month
"0 15 10 L *?" Triggered at 10:15 on the last day of each month
"015 10? * 6L" triggered at 10:15 on the last Friday of each month
"0 15 10? * 6L 2002-2005" triggered at 10:15 on the last Friday of every month from 2002 to 2005
"0 15 10? * 6'3" triggered at 10:15 on the third Friday of each month.
6: 00 every morning
0 6 *
Every two hours
0 * / 2 *
Every two hours between 11:00 and 8 a.m., 8 a.m.
0 23-7 bat 2pm 8 *
11:00 on the 4th of every month and from Monday to Wednesday
0 11 4 * 1-3
January first at four o'clock in the morning
0 4 1 1 *
Some subexpressions can contain ranges or lists
For example: the subexpression (day (week)) can be "MON-FRI", "MON,WED,FRI", "MON-WED,SAT"
"": characters represent all possible values
Therefore, "" represents the meaning of each month in the subexpression (month), and "*" represents each day of the week in the subexpression (day (week)).
"/": characters are used to specify the increment of a numeric value
For example, in the sub-expression (minutes), "0Universe 15" means starting at the 0th minute, every 15 minutes.
"3x20" in the subexpression (minutes) means every 20 minutes starting from the 3rd minute (it has the same meaning as "3gamet 235,43").
"?" The character is only used in two subexpressions, day (month) and day (week), to indicate that no value is specified
When one of the two subexpressions is assigned a value, to avoid conflicts, you need to set the value of the other subexpression to "?"
"L": the character is only used in the day (month) and day (week) subexpressions. It is the abbreviation of the word "last".
But it has different meanings in the two subexpressions.
In the day (month) subexpression, "L" represents the last day of the month
In the day (week) self expression, "L" indicates the last day of the week, that is, SAT.
If there is a specific content before "L", it has other meanings.
For example, "6L" means the penultimate day of the month, and "FRIL" means the last Friday of the month.
Note: do not specify a list or range when using the "L" parameter, as this can cause problems
Thank you for your reading, the above is the content of "spring timer time expression finishing". After the study of this article, I believe you have a deeper understanding of the problem of spring timer time expression finishing, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.