Puppet Class: profile::mediawiki::maintenance::purge_old_cx_drafts

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

Overview

This cron will purge unpublished articles from ContentTranslation older than 455 days (–age-in-days). See: T183890.



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

class profile::mediawiki::maintenance::purge_old_cx_drafts {
    profile::mediawiki::periodic_job { 'purge_old_cx_drafts':
        command  => '/usr/local/bin/foreachwikiindblist "/srv/mediawiki/dblists/wikipedia.dblist - /srv/mediawiki/dblists/special.dblist - /srv/mediawiki/dblists/closed.dblist" extensions/ContentTranslation/scripts/purge-unpublished-drafts.php --age-in-days=455 --really',
        interval => '*-3,18 10:30'
    }
}