Don't output mail of cron

To prevent cron from sending email notifications, you can add the following line to your crontab file:

MAILTO=""

This will set the email address to an empty string, effectively disabling email notifications.

Alternatively, you can also use the -m option when running the cron command, like this:

crontab -e -m ""

This will edit the crontab file and set the email address to an empty string.

Note that this will only affect the specific cron job that you are editing, and not all cron jobs on the system.

Also, you can use the cron daemon configuration file to disable email notifications system-wide. On most systems, this file is located at /etc/default/cron or /etc/sysconfig/cron. Look for the MAILTO variable and set it to an empty string, like this:

MAILTO=""

Then, restart the cron daemon to apply the changes.

Keep in mind that disabling email notifications may make it more difficult to troubleshoot issues with your cron jobs, so be sure to consider the trade-offs before making this change.