Receiving Emails Every Minute, on the Minute
Posted: August 12th, 2012, 2:33 pm
Hello all,
Let me preface my post by saying that this guide is amazing and provided a DIY'r ample direction on building a home media server. I haven't played around with everything yet (KVM and some others), but I doubt I could have accomplished this half as well without this guide.
Now for my problem, lol.
I am receiving an email from my server every minute. It's the CPU script, as far as I can tell from the email. I've uploaded my ssmtp.conf, the script that I've edited, and the email message that I'm receiving. Any help in figuring out where my setup skills failed would be greatly appreciated!
Also, my cron job command reads:
/home/ben/MyScripts/CPUTempShutdown.sh 35 45 > /dev/null
I have 3 cron jobs I made with the help of this guide, and this particular one is the offender. It's the only one I turned off, and that stopped the email spam.
Again, I would be grateful for any help. Thank you very much!
-Ben
EDIT: I guess it would be helpful to say that my CPU's aren't actually reaching the temperature where the IF statement should be activated.
acpitz-virtual-0
Adapter: Virtual device
temp1: +27.8°C (crit = +103.0°C)
temp2: +29.8°C (crit = +103.0°C)
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0: +32.0°C (high = +82.0°C, crit = +102.0°C)
Core 0: +31.0°C (high = +82.0°C, crit = +102.0°C)
Core 1: +28.0°C (high = +82.0°C, crit = +102.0°C)
This is the output from 'sudo sensors'
Let me preface my post by saying that this guide is amazing and provided a DIY'r ample direction on building a home media server. I haven't played around with everything yet (KVM and some others), but I doubt I could have accomplished this half as well without this guide.
Now for my problem, lol.
I am receiving an email from my server every minute. It's the CPU script, as far as I can tell from the email. I've uploaded my ssmtp.conf, the script that I've edited, and the email message that I'm receiving. Any help in figuring out where my setup skills failed would be greatly appreciated!
Also, my cron job command reads:
/home/ben/MyScripts/CPUTempShutdown.sh 35 45 > /dev/null
I have 3 cron jobs I made with the help of this guide, and this particular one is the offender. It's the only one I turned off, and that stopped the email spam.
Again, I would be grateful for any help. Thank you very much!
-Ben
EDIT: I guess it would be helpful to say that my CPU's aren't actually reaching the temperature where the IF statement should be activated.
acpitz-virtual-0
Adapter: Virtual device
temp1: +27.8°C (crit = +103.0°C)
temp2: +29.8°C (crit = +103.0°C)
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0: +32.0°C (high = +82.0°C, crit = +102.0°C)
Core 0: +31.0°C (high = +82.0°C, crit = +102.0°C)
Core 1: +28.0°C (high = +82.0°C, crit = +102.0°C)
This is the output from 'sudo sensors'