DelphiFAQ Home Search:
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.

Featured Article

How to disable notification emails of cron jobs


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?


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:

>/dev/null 2>&1

Generated 16:00:31 on Jul 3, 2020