Defined Type: profile::mediawiki::maintenance::growthexperiments::refreshlinkrecommendations

Defined in:
modules/profile/manifests/mediawiki/maintenance/growthexperiments/refreshlinkrecommendations.pp

Overview

Ensure that a sufficiently large pool of link recommendations is available.



2
3
4
5
6
7
8
# File 'modules/profile/manifests/mediawiki/maintenance/growthexperiments/refreshlinkrecommendations.pp', line 2

define profile::mediawiki::maintenance::growthexperiments::refreshlinkrecommendations() {
    # name is the DB section
    profile::mediawiki::periodic_job { "growthexperiments-refreshLinkRecommendations-${name}":
        command  => "/usr/local/bin/foreachwikiindblist 'growthexperiments & ${name}' extensions/GrowthExperiments/maintenance/refreshLinkRecommendations.php --verbose",
        interval => '*-*-* *:27:00',
    }
}