MaxSem has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/327424 )

Change subject: Add a daily discovery stats cron
......................................................................

Add a daily discovery stats cron

Bug: T153272
Change-Id: I6b3306d39774ab9a9f23ce2cc0fdfc0ffad1e21b
Depends-On: I40bac9a1c7ae38455fc0111fc2b4c1bb1206a4cf
---
M modules/statistics/manifests/discovery.pp
1 file changed, 7 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/24/327424/1

diff --git a/modules/statistics/manifests/discovery.pp 
b/modules/statistics/manifests/discovery.pp
index bb74c77..64bef37 100644
--- a/modules/statistics/manifests/discovery.pp
+++ b/modules/statistics/manifests/discovery.pp
@@ -73,4 +73,11 @@
     user    => $user,
   }
 
+  cron { 'discovery-stats-daily':
+    command => "${scripts_dir}/bin/daily.sh >> ${log_dir}/daily.log 2>&1",
+    hour    => 3,
+    minute  => '14',
+    require => Git::Clone['analytics/discovery-stats'],
+    user    => $user,
+  }
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6b3306d39774ab9a9f23ce2cc0fdfc0ffad1e21b
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: MaxSem <maxsem.w...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to