brew update
in crontab sends output when directed to dev/null
#84
Answered
by
jonchang
TravisSpangle
asked this question in
Everyday usage
-
I have my crontab configured to mail me when there is output. This helps alert me to failures or reports when I want them. Recently something changed. I now get mail whenever
And the mail I get is
How do I silent this output? |
Beta Was this translation helpful? Give feedback.
Answered by
jonchang
Oct 22, 2020
Replies: 1 comment 2 replies
-
This isn't a Homebrew issue, but the order of your redirections is incorrect. I'd recommend you read the bash manual section on redirections to understand why this the case: https://www.gnu.org/software/bash/manual/html_node/Redirections.html |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
TravisSpangle
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This isn't a Homebrew issue, but the order of your redirections is incorrect. I'd recommend you read the bash manual section on redirections to understand why this the case: https://www.gnu.org/software/bash/manual/html_node/Redirections.html