Dzahn has uploaded a new change for review.
https://gerrit.wikimedia.org/r/172324
Change subject: bugzilla - silence collectstats cron jobs
......................................................................
bugzilla - silence collectstats cron jobs
these cron jobs are running fine, but the output
is spammy and really doesn't need to be mailed to root
remove cron spam as requested by YuviPanda
also, soon we will not care about it anymore and use phab
Change-Id: Iab207a61587c0a04aeb4ecef5e7cf27b00284be9
---
M modules/bugzilla/manifests/init.pp
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/24/172324/1
diff --git a/modules/bugzilla/manifests/init.pp
b/modules/bugzilla/manifests/init.pp
index 89f6f40..af05425 100644
--- a/modules/bugzilla/manifests/init.pp
+++ b/modules/bugzilla/manifests/init.pp
@@ -130,7 +130,7 @@
# 1) get statistics for the day:
cron { 'bugzilla_collectstats':
ensure => 'present',
- command => "cd ${bz_path}; ./${collectstats}",
+ command => "cd ${bz_path}; ./${collectstats} > /dev/null 2>&1",
user => 'root',
hour => '0',
minute => '5',
@@ -140,7 +140,7 @@
# 2) on sunday, regenerates the whole statistics data
cron { 'bugzilla_collectstats_regenerate':
ensure => 'present',
- command => "cd ${bz_path}; ./${collectstats} --regenerate",
+ command => "cd ${bz_path}; ./${collectstats} --regenerate > /dev/null
2>&1",
user => root,
hour => 0,
minute => 5,
--
To view, visit https://gerrit.wikimedia.org/r/172324
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iab207a61587c0a04aeb4ecef5e7cf27b00284be9
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits