Scheduler patterns are used to match a date time occurrence, no matter if it represents an hour, a day, or anything else. Date time patterns are used in tagged values of a Scheduler in the component diagram. A pattern can be a sequence of sub-patterns.
- Commas separate the elements of the sequence, e.g.:
value1,value2,...
- A range matches all values within that range. The range is written as the lowest value and the highest value, separated by a hyphen:
value1-value2
- An asterisk matches all values: *
- Finally, you can define values that match directly. Values are always numbers except for weekdays. The following weekday values can be used (the part in brackets is optional):
Mon(day), Tue(sday), Wed(nesday), Thur(sday), Fri(day), Sat(urday), Sun(day)
Example of a Date Time Pattern
0,2,3,10-15,33,30-40,56,* | |
0,2,3 | matches the single values 0, 2, and 3 |
10-15 | matches a range of six numbers: 10,11,12,13,14, and 15 |
33 | matches the single value 33 |
30-40 | matches the range of 11 numbers: 30 to 40 inclusive. Note that this range includes, and makes obsolete in this sequence, the previous sub-pattern: 33. |
56 | matches the single value 56 |
* | matches every value. Note that this sub-pattern makes obsolete all previous sub-patterns. |
Overview
Content Tools