Puppet Class: profile::mediawiki::maintenance::growthexperiments

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

Overview



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

class profile::mediawiki::maintenance::growthexperiments {
    # Purge old welcome survey data (personal data used in user options,
    # with a 270-day retention exception) that's within 30 days of expiry,
    # twice a month. See T208369 and T252575. Logs are saved to
    # /var/log/mediawiki/mediawiki_job_growthexperiments-deleteOldSurveys/syslog.log
    profile::mediawiki::periodic_job { 'growthexperiments-deleteOldSurveys':
        command  => '/usr/local/bin/foreachwikiindblist /srv/mediawiki/dblists/growthexperiments.dblist extensions/GrowthExperiments/maintenance/deleteOldSurveys.php --cutoff 240',
        interval => '*-*-01,15 03:15:00',
    }
}