Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Send the crontab result to email

Answer:

To send the crontab's result to email, follow the method below.

# crontab -e

Then add the line at the beginning

MAILTO=john@example.com

Save the crontab.

  1. How to send an email using a single command?
  2. Meaning of 2>&1 in crontab
  3. Setting up local username and email with git
  4. How to send message to a syslog
  5. Validate email address using PHP

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>