原英文版地址: https://www.elastic.co/guide/en/elasticsearch/reference/7.7/condition-always.html, 原文档版权归 www.elastic.co 所有
本地英文版地址: ../en/condition-always.html

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" : {}
}