I
I
IliaBrz2019-03-21 20:54:22
ubuntu
IliaBrz, 2019-03-21 20:54:22

How to disable Cron positive execution email notifications?

Good evening,
Can you please tell me how can I disable sending emails from Cron in case of successful execution of the command? I would like to leave error messages.
Thanks for your reply,
Ilya

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mysterion, 2019-03-21
@Mysterion

Add at the end of the command specified in crontab:
> /dev/null

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question