Giuseppe Lavagetto has submitted this change and it was merged.

Change subject: Only run processEchoEmailBatch.php on Echo-enabled wikis
......................................................................


Only run processEchoEmailBatch.php on Echo-enabled wikis

Bug: T137771
Change-Id: I61ea420fe913f5f81cc2445a1868ed9f5988bc3c
Depends-On: Iad1695b9e99d89cca76d14514cb050b130961d34
---
M modules/mediawiki/manifests/maintenance/echo_mail_batch.pp
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jcrespo: Looks good to me, but someone else must approve
  Giuseppe Lavagetto: Verified; Looks good to me, approved



diff --git a/modules/mediawiki/manifests/maintenance/echo_mail_batch.pp 
b/modules/mediawiki/manifests/maintenance/echo_mail_batch.pp
index 5d5006f..794b70b 100644
--- a/modules/mediawiki/manifests/maintenance/echo_mail_batch.pp
+++ b/modules/mediawiki/manifests/maintenance/echo_mail_batch.pp
@@ -1,7 +1,7 @@
 class mediawiki::maintenance::echo_mail_batch( $ensure = present ) {
     cron { 'echo_mail_batch':
         ensure  => $ensure,
-        command => '/usr/local/bin/foreachwiki 
extensions/Echo/maintenance/processEchoEmailBatch.php >/dev/null',
+        command => '/usr/local/bin/foreachwikiindblist 
/srv/mediawiki/dblists/echo.dblist 
extensions/Echo/maintenance/processEchoEmailBatch.php >/dev/null',
         user    => $::mediawiki::users::web,
         minute  => 0,
         hour    => 0,

-- 
To view, visit https://gerrit.wikimedia.org/r/294271
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I61ea420fe913f5f81cc2445a1868ed9f5988bc3c
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Catrope <[email protected]>
Gerrit-Reviewer: Alex Monk <[email protected]>
Gerrit-Reviewer: Giuseppe Lavagetto <[email protected]>
Gerrit-Reviewer: Jcrespo <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to