Defined Type: profile::mediawiki::maintenance::updatequerypages::mostlinked

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

Overview



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

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