1.1 [Timer] Polling Frequency

When you select to obtain third-party data regularly through "polling", you need to further set the polling frequency for "polling query".
Method 1: Set the polling frequency by clicking configuration, which is suitable for common and simple polling frequency scenarios:
1. Query every 10 minutes between 7 am and 11 pm every day. The settings are as follows:
The same is true for querying by hour, for example, querying every 2 hours.
Execution Time: 7:00, 7:10, 7:20... to 22:50 every day.
2. Only query once a day at 11 o'clock in the evening, and the settings are as follows:
3. Query once a week on Monday, query time: 11:00 pm on Monday, set as follows:
You can choose from Monday to Sunday, and support multiple choices.
4. Query once on the 2nd of each month, query time: 11:00 pm, set as follows:
You can choose from 1 to 31, and support multiple selections.
Method 2: If the configuration of Method 1 cannot meet the requirements, there is a more personalized polling frequency, which can be configured through Cron expressions.
Cron Expression Explanation
Cron expression is a string, the expression settings are separated by spaces, the main structure is: second minute hour day month week year.
Note:
- Because the polling frequency of the integration platform cannot be lower than the minute level and cannot be higher than the year level, therefore, the Cron expression does not need to set the second bit and the year bit.
- Constraint Inspection: the enumeration value of minutes cannot exceed 10.
Field Description
FieldFillable ValueFillable Special Characters
Secondsunnecessaryunnecessary
MinutesInteger from 0 to 59, - * /
hoursInteger from 0 - 23, - * /
Day (Day of Month)Integer from 1 to 31, - * ? /
MonthInteger from 1 to 12 (or JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC, case insensitive), - * /
Day of WeekAn integer from 1 to 7 (or MON, TUES, WED, THUR, FRI, SAT (1=MON, followed by 7=SUN, 0 can also represent SUN), case insensitive), - * ? / L #
yearunnecessaryunnecessary
Each field uses numbers, but the following special characters can also appear, and their meanings are:
(1) *: Indicates to match any value of the field. If * is used in the Hours field, it means that the event will be triggered every hour.
(2)?: No specific value specified. Applicable only for DayofMonth and DayofWeek, after setting a specific value for one of these two time fields, the other must be set to ? .
(3) -: Indicates the range. For example, use 5-20 in the Hours field, indicating that it is triggered every hour from 5 o'clock to 20 o'clock
(4) /: Indicates that the trigger starts at the starting time, and then triggers every fixed time. For example, if 1/5 is used in the DayofMonth field, it means that it is triggered every 5 days, and the first trigger is the 1st.
(5),: Indicates to list enumeration values. For example: use 5,20 in the Hours field, it means trigger once at 5 o'clock and 20 o'clock respectively.
(6) L: Indicates Last, which can only appear in the fields of DayofWeek and DayofMonth. If 5L is used in the DayofWeek field, it means that it will be triggered on the last Thursday.
(7) W: Indicates a valid working day (Monday to Friday), which can only appear in the DayofMonth field, and the system will trigger the event on the nearest valid working day to the specified date. For example: use 5W on DayofMonth, if the 5th is a Saturday, it will be triggered on the nearest working day: Friday, which is the 4th. If the 5th is Sunday, it will be triggered on the 6th (Monday); if the 5th falls on a day from Monday to Friday, it will be triggered on the 5th. Another point, W's most recent lookup does not span months.
(8) #: It is used to determine the day of the week of each month, and it can only appear in the DayofMonth field. For example, in 4#2, it means the second Wednesday of a certain month.
Examples of Common Expressions
"59 11 * * 1,2" means: Execute every Monday and Tuesday at 11:59
"0 10,14,16 * * ?" means: execute at 10 am, 2 pm, 4 pm every day
"15 10 L * ?" means: execute at 10:15 am on the last day of each month
"15 10 ? * 6L" means: execute at 10:15 am on the last Friday of every month
"15 10 ? * 6#3" means: execute at 10:15 am on the third Friday of every month
2023-02-22
0 0