Suppress email notifications for cron jobs

Last modified:

Introduction

After I’ve setup a proper MTA, I received a lot of email notifications for my running cron jobs. However, I do not want to receive those emails and had to find a way to suppress them.

Enter crontab

You can edit your crontab with

crontab -e

Add at the top of the file:

MAILTO=""

Emails won’t be send now.

Last updated on Jan 06, 2022 20:48 CET
Built with Hugo
Theme Stack designed by Jimmy