Errors / checked October 9, 2026

(CRON) info (No MTA installed, discarding output)

The error

The system log on Debian or Ubuntu (journalctl -u cron or /var/log/syslog), as a CRON[pid] line right after one of your crontab jobs ran.

Quick fix

  1. Send the job's output to a file so you can read it: */5 * * * * /home/you/job.sh >> /home/you/job.log 2>&1. The message stops because cron has no output left to mail.
  2. Read that log first: the discarded output was often an error message, such as "not found" or a failed request.
  3. If you want the output emailed instead, install a mail transfer agent that provides a sendmail command (msmtp-mta to relay through an existing mailbox, or postfix) and set MAILTO=you@example.com in the crontab.

Replace a crontab curl line with a hosted schedule

Why this happens

cron collects anything a job prints to standard output or standard error and tries to mail it to the crontab's owner, or to MAILTO. Debian's cron checks for the sendmail program first; when it is missing it logs this line and throws the output away. The job itself did run. The message only means you never saw what it printed.

Source: Debian cron source: do_command.c

Other solutions

  • MAILTO="" at the top of the crontab turns mail off, and the message with it, but the output is still lost. Pair it with a log file.
  • If the job calls a URL, a hosted scheduler keeps the result for you. RunLater keeps the status code and response of every run for 7 to 90 days, depending on the plan, with nothing to install on the server.

Check a schedule before you deploy it: the cron expression explainer shows the next 10 run times.

Frequently asked questions

Did my cron job run if I see "No MTA installed"?

Yes. cron logs the message after the job finishes, when it tries to mail the output. It means the job printed something and the output was thrown away.

How do I see the output of a cron job?

Redirect it to a file in the crontab line with >> /path/to/job.log 2>&1, then read the file. Without a redirect or a working mail setup, the output is gone.

How do I stop the "No MTA installed" message?

Either make the job print nothing (redirect its output to a file or to /dev/null), or set MAILTO="" in the crontab so cron does not try to mail at all.

Have the URL called on schedule, with retries

RunLater calls your URL on a cron schedule or at an exact time, in your timezone, retries failed calls with backoff and logs each response, so a timeout or a 5xx shows up in a log instead of disappearing.

Start a 14-day trialStarter is $15/month for 250 scheduled requests and 25,000 runs. Cancel before day 14 and you pay nothing.

Related errors