Puppet Class: peek::cron

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

Overview



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'modules/peek/manifests/cron.pp', line 1

class peek::cron {

    cron { 'peek_monthly':
        command     => '. $HOME/.profile; /var/lib/peek/git/peek.py -c /etc/peek/config/base.conf,/etc/peek/config/monthly.conf -s > /dev/null',
        environment => 'MAILTO=security-team@wikimedia.org',
        user        => 'peek',
        minute      => 0,
        hour        => 0,
        monthday    => 1,
    }

    cron { 'peek_weekly':
        command     => '. $HOME/.profile; /var/lib/peek/git/peek.py -c /etc/peek/config/base.conf,/etc/peek/config/weekly.conf -s > /dev/null',
        environment => 'MAILTO=security-team@wikimedia.org',
        user        => 'peek',
        minute      => 0,
        hour        => 0,
        weekday     => 1,
    }
}