Puppet Class: profile::mediawiki::maintenance::translationnotifications

Defined in:
modules/profile/manifests/mediawiki/maintenance/translationnotifications.pp

Overview



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# File 'modules/profile/manifests/mediawiki/maintenance/translationnotifications.pp', line 1

class profile::mediawiki::maintenance::translationnotifications {
    # Should there be crontab entry for each wiki,
    # or just one which runs the scripts which iterates over
    # selected set of wikis?

    profile::mediawiki::periodic_job { 'translationnotifications-metawiki':
        command  => '/usr/local/bin/mwscript extensions/TranslationNotifications/scripts/DigestEmailer.php --wiki metawiki',
        interval => 'Mon 10:00',
    }

    profile::mediawiki::periodic_job { 'translationnotifications-mediawikiwiki':
        command  => '/usr/local/bin/mwscript extensions/TranslationNotifications/scripts/DigestEmailer.php --wiki mediawikiwiki',
        interval => 'Mon 10:05',
    }
}