mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-04-28 19:28:50 +00:00
old indices were not deleted
escaping timestring format fixes it
This commit is contained in:
parent
0df2d3bbf6
commit
cef8e5fded
1 changed files with 1 additions and 1 deletions
|
@ -287,7 +287,7 @@ tee -a /etc/crontab <<EOF
|
|||
27 3 * * * root dcres.sh
|
||||
|
||||
# Delete elastic indices older than 90 days (kibana index is omitted by default)
|
||||
27 4 * * * root docker exec elk bash -c '/usr/local/bin/curator --host 127.0.0.1 delete indices --older-than 90 --time-unit days --timestring '%Y.%m.%d''
|
||||
27 4 * * * root docker exec elk bash -c '/usr/local/bin/curator --host 127.0.0.1 delete indices --older-than 90 --time-unit days --timestring \%Y.\%m.\%d'
|
||||
|
||||
# Update IP and erase check.lock if it exists
|
||||
27 15 * * * root /etc/rc.local
|
||||
|
|
Loading…
Reference in a new issue