原英文版地址: https://www.elastic.co/guide/en/elasticsearch/reference/7.7/condition-always.html, 原文档版权归 www.elastic.co 所有
本地英文版地址: ../en/condition-always.html
本地英文版地址: ../en/condition-always.html
重要: 此版本不会发布额外的bug修复或文档更新。最新信息请参考 当前版本文档。
Always conditionedit
Use the always
condition to set the condition to true
. This forces the watch
actions to be executed unless they are throttled.
The always
condition enables you to perform watch actions on a fixed schedule,
such as, "Every Friday at noon, send a status report email to
sys.admin@example.com."
Using the always conditionedit
This is the default if you omit the condition definition from a watch.
There are no attributes to specify for the always
condition. To explicitly
use this condition, specify the condition type and associate it with an empty
object:
"condition" : { "always" : {} }