Common Configurations
Common Detectors Configurations
Last updated
Common Detectors Configurations
Last updated
0 0 12 * * ?1. BASIC COMPARISON OPERATORS:
= value -> equals value (exact match)
!= value -> not equals value (exact match)
2. ABSOLUTE VALUE HANDLING:
> 10 -> v > 10 OR v < -10 (absolute value handling)
< 25 -> |v| < 25 (absolute value handling)
>= 35 -> |v| >= 35 (absolute value handling)
<= 50 -> |v| <= 50 (absolute value handling)
3. EXPLICIT SIGN HANDLING (no absolute value):
> +10 -> v > 10 (exact value, no absolute handling)
> -15 -> v > -15 (exact value, no absolute handling)
< +30 -> v < 30 (exact value, no absolute handling)
< -20 -> v < -20 (exact value, no absolute handling)
3.5. ONCE OPERATORS (edge detection - trigger only when condition transitions from false to true):
>> 10 -> v > 10 (triggers only once when condition becomes true, then false on subsequent evaluations)
<< 25 -> v < 25 (triggers only once when condition becomes true, then false on subsequent evaluations)
>>= 10 -> v >= 10 (triggers only once when condition becomes true, then false on subsequent evaluations)
<<= 25 -> v <= 25 (triggers only once when condition becomes true, then false on subsequent evaluations)
>> ++100 -> increase > 100 (triggers only once when the increase condition becomes true)
<< --50 -> decrease > 50 (triggers only once when the decrease condition becomes true)
>> 25% -> percentage change > 25% (triggers only once when the percentage condition becomes true)
<< 10% -> percentage change < 10% (triggers only once when the percentage condition becomes true)
Note: These operators return true only when the condition transitions from false to true (edge detection).
Once the condition becomes true, subsequent evaluations return false even if the condition remains true.
This is useful for detecting threshold crossings or one-time events.
3.6. MAX/MIN OPERATORS (trigger only on new maximum/minimum):
>>> 100 -> v > 100 AND v > previous max (triggers only when a new maximum is reached)
<<< 50 -> v < 50 AND v < previous min (triggers only when a new minimum is reached)
>>>= 100 -> v >= 100 AND v >= previous max (triggers only when a new maximum is reached, including equality)
<<<= 50 -> v <= 50 AND v <= previous min (triggers only when a new minimum is reached, including equality)
Note: These operators track the maximum (>>>/>>>=) or minimum (<<</<<<=) value seen so far.
They return true only when:
- The value exceeds/meets (>>>/>>>=) or is below/meets (<<</<<<=) the threshold, AND
- The value is greater than/equal (>>>/>>>=) or less than/equal (<<</<<<=) all previously seen values that met the threshold.
Example for ">>> 100":
- v=90 -> false (90 < 100)
- v=200 -> true (200 > 100, and it's the first value exceeding threshold)
- v=150 -> false (150 > 100, but 150 < 200, so not a new max)
- v=300 -> true (300 > 100 AND 300 > 200, so new max)
- v=200 -> false (200 > 100, but 200 < 300, so not a new max)
Example for ">>>= 100":
- v=100 -> true (100 >= 100, and it's the first value meeting threshold)
- v=200 -> true (200 >= 100 AND 200 >= 100, so new max)
- v=150 -> false (150 >= 100, but 150 < 200, so not a new max)
- v=200 -> false (200 >= 100, but 200 <= 200, so not a new max)
4. PERCENTAGE OPERATIONS:
> 25% -> percentage change > 25% (absolute value handling)
< 10% -> percentage change < 10% (absolute value handling)
>= 50% -> percentage change >= 50% (absolute value handling)
<= 75% -> percentage change <= 75% (absolute value handling)
= 100% -> percentage change = 100% (exact match)
!= 200% -> percentage change != 200% (exact match)
Note: This calculates the percentage change from previous value to current value.
Formula: (v - v0) / v0100. For example:
- v0=1000, v=700: percentage change = (700-1000)/1000*100 = -30% (decreased by 30%)
- v0=1000, v=1300: percentage change = (1300-1000)/1000*100 = 30% (increased by 30%)
- v0=100, v=100: percentage change = (100-100)/100*100 = 0% (no change)
5. DELTA OPERATIONS (change from previous value):
> ++100 -> increase > 100 (absolute change)
< --50 -> decrease > 50 (magnitude of decrease)
>= ++30 -> increase >= 30 (absolute change)
<= --25 -> decrease >= 25 (magnitude of decrease)
= ++20 -> increase = 20 (exact change)
!= ++40 -> increase != 40 (exact change)
6. PERCENTAGE DELTA OPERATIONS:
> ++25% -> increase of percentage change > 25%
< --10% -> increase of percentage change > 10%
>= ++50% -> increase of percentage change >= 50%
<= --30% -> increase of percentage change >= 30%
= ++100% -> increase of percentage change = 100%
!= ++200% -> increase of percentage change != 200%
7. SPACES SUPPORT:
> ++ 100 -> increase > 100 (spaces are ignored)
<= -- 25 -> decrease >= 25 (spaces are ignored)
= ++ 30.0 % -> increase = 30% (spaces are ignored)
NOTES:
- Equality (=) and not equality (!=) always use exact value matching
- Comparison operators (>, <, >=, <=) respect absolute value handling
- Once operators (>>, <<) trigger only when condition transitions from false to true (edge detection)
- Delta operations (++, --) work with all comparison operators including once operators
- Percentage operations work with all comparison operators including once operators
- Spaces are automatically removed during parsing
- The abs parameter is automatically detected based on value prefix: + / - will not use absolute value handling