Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save tegansnyder/96e798a819c5622d9f26ac8b416ea7e4 to your computer and use it in GitHub Desktop.
Save tegansnyder/96e798a819c5622d9f26ac8b416ea7e4 to your computer and use it in GitHub Desktop.
Removing marvel indexes after 30 days
# crontab -e
# remove marvel indicies older than 30 days
30 2 * * * curator delete indices --timestring '%Y.%m.%d' --prefix '.marvel-es' --older-than 30 --time-unit 'days'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment