crontab (cron job) がメールを送信しないようにする
Issue
- "MAILTO=" オプションをコメントアウトしましたが、crontab (cron job) がメールを送信し続けます。
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
#MAILTO=root
HOME=/
# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
- crontab (cron job) がメールを送信しないようにするにはどうしたら良いですか?
Environment
- Red Hat Enterprise Linux 4
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Crond デーモン
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.