我打算让 cronjob 在 elasticsearch 上做 curator
0 17 * * * /usr/local/bin/curator_cli --host localhost delete indices --older-than 7 --time-unit days --timestring '\%Y.\%m.\%d' >> /var/log/curator.log 2>&1
它给我的日志错误
错误:没有这样的命令“删除”
错误:没有这样的选项:--older-than
什么命令应该替换 delete 和早于?
谢谢你。