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

Parametersedit

-c, --count <Integer>
The number of future times this expression will be triggered. The default value is 10.
-d, --detail
Shows detail for invalid cron expression. It will print the stacktrace if the expression is not valid.
-h, --help
Returns all of the command parameters.
-s, --silent
Shows minimal output.
-v, --verbose
Shows verbose output.

Exampleedit

If the cron expression is valid, the following command displays the next 20 times that the schedule will be triggered:

bin/elasticsearch-croneval "0 0/1 * * * ?" -c 20