Bearloga has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/369438 )
Change subject: statistics::discovery: Fix scheduled command
......................................................................
statistics::discovery: Fix scheduled command
Bug: T170494
Change-Id: Ia1ff5e79a6b1c16c78dbc647641cba550e96c55e
---
M modules/statistics/manifests/discovery.pp
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/38/369438/1
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: newchange
Gerrit-Change-Id: Ia1ff5e79a6b1c16c78dbc647641cba550e96c55e
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Bearloga <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits