proxmox-stuff icon indicating copy to clipboard operation
proxmox-stuff copied to clipboard

How to stop email alert when running from chron

Open CV8R opened this issue 4 months ago • 0 comments

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.

CV8R avatar Oct 02 '24 05:10 CV8R