On 06/04/2021 18:43, Dale wrote:
Keep in mind, I do not want to disable ALL emails, just this one
script. How does one disable emails for this one cron job? Do I have a
typo or putting it in wrong place maybe? Everything I found shows this
should work but obviously I'm doing something wrong. Again, error
emails are fine. I don't want successful runs tho.
Are you sure?
What if the job doesn't run (and doesn't send a failure message). Try
and get it to use some distinguishing characteristic for your email
client to separate success and failure. Then you can dump all your
success messages into a folder that expires messages. If you suddenly
discover you've got no messages your know your cron job is stuffed. If
your job is stuffed you get the error email.
Cheers,
Wol