Defined Type: mediawiki::maintenance::updatequerypages::mostrevisions

Defined in:
modules/mediawiki/manifests/maintenance/updatequerypages/mostrevisions.pp

Overview



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

define mediawiki::maintenance::updatequerypages::mostrevisions() {
    $db_cluster = regsubst($name, '@.*', '\1')
    cron { "cron-updatequerypages-mostrevisions-${name}":
        command  => "/usr/local/bin/mwscriptwikiset updateSpecialPages.php ${db_cluster}.dblist --override --only=Mostrevisions > /var/log/mediawiki/updateSpecialPages/${name}-MostRevisions.log 2>&1",
        monthday => [11, 25],
    }
}