Document timeOnly option for DateTimeTrigger (#1936)
This feature was added in openhab-core#3051 Signed-off-by: Flole <flole@flole.de> Signed-off-by: Flole <flole@flole.de>pull/1938/head
parent
969fae1f7b
commit
4bda286b4d
|
@ -167,12 +167,12 @@ So in Rules where the Rule needs to know what the command was, use the `received
|
|||
|
||||
### Time-based Triggers
|
||||
|
||||
You can either use some pre-defined expressions for timers or use a [cron expression](https://www.quartz-scheduler.org/documentation/quartz-2.2.2/tutorials/tutorial-lesson-06.html) instead:
|
||||
You can either use some pre-defined expressions for timers or use a [cron expression](https://www.quartz-scheduler.org/documentation/quartz-2.2.2/tutorials/tutorial-lesson-06.html) or an item instead:
|
||||
|
||||
```java
|
||||
Time is midnight
|
||||
Time is noon
|
||||
Time is <item>
|
||||
Time is <item> [timeOnly]
|
||||
Time cron "<cron expression>"
|
||||
```
|
||||
|
||||
|
@ -188,6 +188,8 @@ A cron expression takes the form of six or optionally seven fields:
|
|||
|
||||
You may use the generator at [FreeFormatter.com](https://www.freeformatter.com/cron-expression-generator-quartz.html) to generate your cron expressions.
|
||||
|
||||
When using an item and you want to ignore the date-portion of that item the `timeOnly` option can be used.
|
||||
|
||||
### System-based Triggers
|
||||
|
||||
System-based triggers are provided as described in the table below:
|
||||
|
|
Loading…
Reference in New Issue