CRON No MTA installed discarding output
Answer from here
Linux uses mail for sending notifications to the user. Most Linux distributions have a mail service including an MTA (Mail Transfer Agent) installed. Ubuntu doesn't though.
You can install a mail service, postfix for example, to solve this problem.
sudo apt-get install postfix
Or you can ignore it. I don't think the inability of cron to send messages has anything to do with the CPU spike (that's linked to the underlying job that cron is running). It might be safest to install an MTA and then read through the messages (
mutt
is a good system mail reader).
The best option seems to be redirect all output to a log file:
(use
sudo
if the issue is with root’s crontab) and add>> /some/log/file 2>&1
after every command, like this:
0 3 * * * cmd >> /some/log/file 2>&1