Puppet Class: mailman::cron

Defined in:
modules/mailman/manifests/cron.pp

Overview



1
2
3
4
5
6
7
8
9
10
11
# File 'modules/mailman/manifests/cron.pp', line 1

class mailman::cron {

    # delete un-moderated held messages after 90 days (T109838)
    cron { 'delete_held_messages':
        ensure  => 'present',
        command => "/usr/bin/find /var/lib/mailman/data/ -name 'heldmsg-*' -type f -mtime +90 -exec rm {} \\; > /dev/null 2>&1",
        user    => 'root',
        hour    => '3',
        minute  => '0',
    }
}