This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# list of severity levels | |
# ["emergency", "alert", "critical", "error", "warning", "notice", "informational", "debug"] | |
cron { 'Clean_debug_older_than_4_weeks_28_days': | |
command => '/usr/local/bin/purge_elasticsearch.sh -d 28 -l debug', | |
minute => '10', | |
hour => '5', | |
} | |
cron { 'Clean_informational_older_than_16_weeks_112_days': |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Generate a gource video, and upload it to YouTube | |
# If you have problems with the built in ffmpeg, | |
# you might want to try and compile it yourself: | |
# | |
# https://gist.github.com/taeram/4552318 | |
# fail fast |