How to disable notification emails of cron jobs
3 comments. Current rating: (3 votes). Leave comments and/ or rate it.
Question:I have a couple of jobs scheduled using cron. Some run every hour and I am tired of seeing the same notification emails every hour. How can I disable that?
Answer:Indeed by default cron jobs sends a email to the user account executing the cronjob. If you don't like that simply redirect your job's stdout and stderr to null
You can do that by appending the following to your command: