proxmox-stuff
proxmox-stuff copied to clipboard
How to stop email alert when running from chron
I have added the script to cron and it works great. But each time it runs a receive an email alert.
Cron <root@pve1> test -x /usr/sbin/anacron || { cd / && run-parts --report /etc/cron.daily; }
Is there a way to stop it outputting and sending the email. Ideally, only send if it fails.