Saturday, April 20, 2024
 Popular · Latest · Hot · Upcoming
251
rated 0 times [  251] [ 0]  / answers: 1 / hits: 573728  / 2 Years ago, thu, august 25, 2022, 9:12:58

I have a fresh install of Ubuntu 12.04.1 LTS an a number of servers.



I have not added any cron jobs or edited my crontab on those servers, however, at around the same time for each machine, I get a 75% CPU spike and the following info in my syslog at the time of the spike:



CRON[8380]: (CRON) info (No MTA installed, discarding output)


I have mono-complete installed and am running a service stack webserver.



What is the best way for me to stop this from happening? I would like to be able to remove the CPU spike.


More From » cron

 Answers
6

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).


[#34010] Saturday, August 27, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tiowift

Total Points: 119
Total Questions: 113
Total Answers: 110

Location: South Sudan
Member since Sun, Jul 11, 2021
3 Years ago
;