| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 | [role="xpack"][testenv="gold+"][[elasticsearch-croneval]]== elasticsearch-cronevalValidates and evaluates a cron expression. [discrete]=== Synopsis[source,shell]--------------------------------------------------bin/elasticsearch-croneval <expression>[-c, --count <integer>] [-h, --help]([-s, --silent] | [-v, --verbose])--------------------------------------------------[discrete]=== DescriptionThis command enables you to verify that yourhttps://en.wikipedia.org/wiki/Cron[cron] expressions are valid for use with the{es} {alert-features} and produce the expected results.This command is provided in the `$ES_HOME/bin` directory.[discrete]=== Parameters`-c, --count` <Integer>::  The number of future times this expression will be triggered. The default  value is `10`.  `-h, --help`::  Returns all of the command parameters.`-s, --silent`::  Shows minimal output.                                 `-v, --verbose`::  Shows verbose output.[discrete]=== ExamplesIf the cron expression is valid, the following command displays the next20 times that the schedule will be triggered:[source,bash]--------------------------------------------------bin/elasticsearch-croneval "0 0/1 * * * ?" -c 20--------------------------------------------------
 |