Ottomata has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/369438 )

Change subject: statistics::discovery: Fix scheduled command
......................................................................


statistics::discovery: Fix scheduled command

Would like this reviewed and merged before the next scheduled run of the
scripts, as we're more than a week behind on our metrics now.

Bug: T170494
Change-Id: Ia1ff5e79a6b1c16c78dbc647641cba550e96c55e
---
M modules/statistics/manifests/discovery.pp
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Ottomata: Verified; Looks good to me, approved



diff --git a/modules/statistics/manifests/discovery.pp 
b/modules/statistics/manifests/discovery.pp
index 8cb070d..94dec47 100644
--- a/modules/statistics/manifests/discovery.pp
+++ b/modules/statistics/manifests/discovery.pp
@@ -68,7 +68,7 @@
     # - It's ~9/10p Pacific time, so we're not likely to hinder people's work
     #   on analytics cluster, although we use `nice` & `ionice` as a courtesy.
     cron { 'wikimedia-discovery-golden':
-        command => "sh ${dir}/golden/main.sh >> ${log_dir}/golden-daily.log 
2>&1",
+        command => "cd ${dir}/golden && sh main.sh >> 
${log_dir}/golden-daily.log 2>&1",
         hour    => '5',
         minute  => '0',
         require => [

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia1ff5e79a6b1c16c78dbc647641cba550e96c55e
Gerrit-PatchSet: 3
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Bearloga <[email protected]>
Gerrit-Reviewer: Chelsyx <[email protected]>
Gerrit-Reviewer: Elukey <[email protected]>
Gerrit-Reviewer: Gehel <[email protected]>
Gerrit-Reviewer: Ottomata <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to