Don't allow swift-recon cron job to send mail

The cron job is periodically sending out emails. They are going
to root's mailbox and would likely be left unread.

swift-recon-cron logs its activities so the emails are not
needed.

Change-Id: Idf66b59b883e13b2f4aa4fcfd575adc89e770d98
Closes-Bug: 1354262
This commit is contained in:
Richard Su 2014-08-07 20:58:27 -07:00
parent 8322ffdc8a
commit d8ad35fe65
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ cat > /etc/cron.d/swift-recon <<EOF
# Cronjob to track async pending on the object server.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=""
*/5 * * * * swift swift-recon-cron /etc/swift/object-server.conf
EOF