Suppressmail

(redirected from Shell.Cronjobs)

Users may fill your mail server with useless cronjob emails. If this happens, you can suppress the emails as follows:

$ doas sed -i '1s/^/MAILTO=\
/' /var/cron/tabs/$USERNAME

(Note that there is a deliberate newline in the command)

Replace $USERNAME with the user's name.