Yuvipanda has submitted this change and it was merged. 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(-) Approvals: Yuvipanda: Looks good to me, approved jenkins-bot: Verified 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: merged Gerrit-Change-Id: Iab207a61587c0a04aeb4ecef5e7cf27b00284be9 Gerrit-PatchSet: 2 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Dzahn <dz...@wikimedia.org> Gerrit-Reviewer: Yuvipanda <yuvipa...@gmail.com> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits