About this site
Links to us
General :: Linux :: shell
Linux shell programming/ scripting, shortcuts and general know-how.
This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.
Generated 16:00:31 on Jul 3, 2020
How to disable notification emails of cron jobs
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:
|Most recent comments