Linux command
elasticsearch-croneval 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Evaluate cron expression
elasticsearch-croneval "[0 0 * * *]"
Show next N trigger times
elasticsearch-croneval -c [10] "[0 0 * * *]"
Detailed output
elasticsearch-croneval -d "[0 */5 * * *]"
说明
elasticsearch-croneval validates and evaluates Elasticsearch cron expressions. Shows when a cron schedule will trigger next. Useful for testing Watcher or ILM schedules.
参数
- -c, --count _number_
- Number of future times to show.
- -d, --detail
- Show detailed output.
FAQ
What is the elasticsearch-croneval command used for?
elasticsearch-croneval validates and evaluates Elasticsearch cron expressions. Shows when a cron schedule will trigger next. Useful for testing Watcher or ILM schedules.
How do I run a basic elasticsearch-croneval example?
Run `elasticsearch-croneval "[0 0 * * *]"` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -c, --count _number_ do in elasticsearch-croneval?
Number of future times to show.