News for hackers. Stuff that matters.
Re:Cron best practices by funcDropShadow on Friday March 11, 2022 @07:55AM (#30639208)
If you happen to be on a Linux system with a properly configured mta (mail daemon), which you are if cron is able to send emails, you can just pipe the output of your command to sendmail
Re:Cron best practices by rhn_mk1 on Friday March 11, 2022 @04:55PM (#30646496)
It would have been nice until extra logic comes in: cron doesn't send an email when there is no output.

Which is exactly what I want! Error? I must know. Output? If I left any, then it's a notification, and I must know. No output? A maintenance task succeeded, nothing to report.