Puppet Class: profile::mediawiki::maintenance::pagetriage

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

Overview



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

class profile::mediawiki::maintenance::pagetriage {
    # TODO: Consider creating a single cron that runs all of these scripts at
    # 48h intervals, rather than staggering them throughout the day.

    system::role { 'mediawiki::maintenance::pagetriage': description => 'MediaWiki Maintenance Server: pagetriage extension' }

    profile::mediawiki::periodic_job { 'pagetriage_cleanup_en':
        interval => '*-2/2 20:55',
        command  => '/usr/local/bin/mwscript extensions/PageTriage/cron/updatePageTriageQueue.php enwiki',
    }

    profile::mediawiki::periodic_job { 'pagetriage_cleanup_testwiki':
        interval => '*-2/2 14:55',
        command  => '/usr/local/bin/mwscript extensions/PageTriage/cron/updatePageTriageQueue.php testwiki',
    }

    profile::mediawiki::periodic_job { 'pagetriage_cleanup_test2wiki':
        interval => '*-2/2 8:55',
        command  => '/usr/local/bin/mwscript extensions/PageTriage/cron/updatePageTriageQueue.php test2wiki',
    }
}