Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I turn off receiving an email from lynx that recaps what it did?

I have crontab running a PHP script and that works fine. But each time cron runs my lynx browser I get an email from the cron daemon recapping the lynx commands.

I don't need them.


share|improve this question

Found it....

append >/dev/null 2>&1 to the end of your cron command line

share|improve this answer

It isn't lynx that is sending e-mail — it's cron. This is a feature: by default, any output of cron jobs gets mailed to the owner of the crontab. You can find the documentation for this in man 5 crontab, but in short, if you want to suppress all mailed output, set MAILTO="" at the top of your crontab file. Alternately, you can suppress output from the individual jobs (in a per-command-specific way, like grep --quiet if you happen to have grep commands in your crontab), or redirect the output elsewhere — to a log file, or just to /dev/null. Or, you can pipe it to the mail command, using -s to give the mail a meaningful subject rather than the default (ugly) cron-output subject line.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.