Defined Type: profile::mediawiki::maintenance::updatequerypages::wantedpages

Defined in:
modules/profile/manifests/mediawiki/maintenance/updatequerypages/wantedpages.pp

Overview



1
2
3
4
5
6
7
# File 'modules/profile/manifests/mediawiki/maintenance/updatequerypages/wantedpages.pp', line 1

define profile::mediawiki::maintenance::updatequerypages::wantedpages() {
    $db_cluster = regsubst($name, '@.*', '\1')
    profile::mediawiki::periodic_job { "updatequerypages_wantedpages_${name}":
        command  => "/usr/local/bin/mwscriptwikiset updateSpecialPages.php ${db_cluster}.dblist --override --only=Wantedpages",
        interval => '*-12,26 01:00',
    }
}