Hello RobH, jenkins-bot,
I'd like you to do a code review. Please visit
https://gerrit.wikimedia.org/r/365662
to review the following change.
Change subject: Revert "Remove time command from statistics::wmde crons"
......................................................................
Revert "Remove time command from statistics::wmde crons"
This reverts commit 9aa81c9ab49e8ac13a738133956c24768f9569ee.
Change-Id: Ie422227b6ee927420777ce39b072b43aebc797d8
---
M modules/statistics/manifests/wmde.pp
1 file changed, 4 insertions(+), 4 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/62/365662/1
diff --git a/modules/statistics/manifests/wmde.pp
b/modules/statistics/manifests/wmde.pp
index f1bb980..8e4520b 100644
--- a/modules/statistics/manifests/wmde.pp
+++ b/modules/statistics/manifests/wmde.pp
@@ -125,7 +125,7 @@
# Note: some of the scripts run by this cron need access to secrets!
# Docs can be seen at
https://github.com/wikimedia/analytics-wmde-scripts/blob/master/README.md
cron { 'daily.03':
- command => "${scripts_dir}/cron/daily.03.sh ${scripts_dir} >>
${log_dir}/daily.03.log 2>&1",
+ command => "time ${scripts_dir}/cron/daily.03.sh ${scripts_dir} >>
${log_dir}/daily.03.log 2>&1",
hour => '3',
minute => '0',
require => [
@@ -136,7 +136,7 @@
}
cron { 'daily.12':
- command => "${scripts_dir}/cron/daily.12.sh ${scripts_dir} >>
${log_dir}/daily.12.log 2>&1",
+ command => "time ${scripts_dir}/cron/daily.12.sh ${scripts_dir} >>
${log_dir}/daily.12.log 2>&1",
hour => '12',
minute => '0',
require => [
@@ -146,7 +146,7 @@
}
cron { 'weekly':
- command => "${scripts_dir}/cron/weekly.sh ${scripts_dir} >>
${log_dir}/weekly.log 2>&1",
+ command => "time ${scripts_dir}/cron/weekly.sh ${scripts_dir} >>
${log_dir}/weekly.log 2>&1",
weekday => '7',
hour => '01',
minute => '0',
@@ -157,7 +157,7 @@
}
cron { 'wmde/toolkit-analyzer-build':
- command => "java -Xmx2g -jar
${dir}/src/toolkit-analyzer-build/toolkit-analyzer.jar --processors Metric
--store ${dir}/data --latest >> ${log_dir}/toolkit-analyzer.log 2>&1",
+ command => "time java -Xmx2g -jar
${dir}/src/toolkit-analyzer-build/toolkit-analyzer.jar --processors Metric
--store ${dir}/data --latest >> ${log_dir}/toolkit-analyzer.log 2>&1",
hour => '12',
minute => '0',
}
--
To view, visit https://gerrit.wikimedia.org/r/365662
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie422227b6ee927420777ce39b072b43aebc797d8
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Addshore <[email protected]>
Gerrit-Reviewer: RobH <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits