YunoHost-Apps / archivist_ynh

GNU General Public License v3.0
12 stars 4 forks source link

Disable mails to root #37

Closed agaAdams closed 3 years ago

agaAdams commented 3 years ago

Hi there,

is there a way to disable the daily mails from cron to yh-root?

maniackcrudelis commented 3 years ago

Hi @agaAdams

you receive an email because of the execution of the cron task. The cron copy the result of the execution into the log | tee -a To disable the mail, you can replace that part of the command by >> That way, the result of the command will go directly to the log, without being sent by email.

agaAdams commented 3 years ago

many thanks