how to disable cronjob e-mail alerts?

acidrop

Renowned Member
Jul 17, 2012
204
7
83
hello

I have configured e-mail alerts on the pve hosts and they are successfully being sent to the root account (which then forwards to my real e-mail account).

What I’m trying to figure out is how to disable e-mail alerts sent by cron. If that’s not possible, can I somehow disable only zfs replication events at least?

Thanks
 
Hi,

do you talk about pve-zsync or pvesr?
Because only pve-zsync using crontab.
pvesr has its own method.
 
It's about pve-zsync, I'm not receiving e-mails from job scheduled via pvesr [GUI replication].
In a more general context, is it possible to disable crontab e-mail alerts completely ?
 
AFIK you can't generally disable email for Cron, but you can pipe all cronjobs to /dev/null