Petr Jediný | 01c1882 | 2017-11-15 12:30:53 +0100 | [diff] [blame] | 1 | parameters: |
2 | _param: | ||||
3 | opencontrail_cassandra_gc_log_cleanup_mtime: '+7' | ||||
4 | opencontrail_cassandra_gc_log_cleanup_dir: '/var/log/cassandra/' | ||||
5 | linux: | ||||
6 | system: | ||||
7 | job: | ||||
8 | cassandra_gc_logs_cleanup: | ||||
9 | command: "find ${_param:opencontrail_cassandra_gc_log_cleanup_dir} -name 'gc-*.log' -type f -mtime ${_param:opencontrail_cassandra_gc_log_cleanup_mtime} -exec rm {} \\;" | ||||
10 | identifier: cassandra_gc_logs_cleanup | ||||
11 | hour: 0 | ||||
12 | minute: 0 |