Quote:
Originally posted by Nobber
I prefer
myself (for its brevity).
|
This I think is the solution. The crond was trying to send e-mails
when the script in my cronjob was not succeeding, thus producing
output to stderr. What I had in place,
only redirected the stdout, preventing e-mails when the script
succeeded.
BTW, the following are equivalent and redirect both stdout (1) and
stderr (2) to /dev/null:
Code:
cmd &> /dev/null
cmd 1> /dev/null 2> /dev/null
Thank you all for your replies.
I suppose the answer to the second part of my original post:
Quote:
I saw some versions of cron use a file /etc/crontab where
one can set MAILTO="", does that work for dcron in
Slackware?
|
is no.