Crontab: avoid mail for one cron job

If you don’t want the cron mail for one cronjob you’ve to use the /dev/null redirection in the crontab entry:


 */10 * * * * /sbin/yourcommand -options > /dev/null 2>&1

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.