Operating System - Linux
1751695 Members
5117 Online
108781 Solutions
New Discussion юеВ

Re: cron stops when on battery

 
SOLVED
Go to solution
Donald Kok
Respected Contributor

cron stops when on battery

Hi,

The other day I took my laptop (w RH9) running, and plugged it in another power outlet and another switchport. Since that time crond is not running anymore. No entrys are made in messages and cron.log.

Does anyone know why the cron daemon stops.

Thanks
Donald
My systems are 100% Murphy Compliant. Guaranteed!!!
3 REPLIES 3
Balaji N
Honored Contributor
Solution

Re: cron stops when on battery

is apmd enabled. if yes, this is possible. was just scanning through the configuration of apmd in /etc/sysconfig/apmd and it crond / atd are listed as LOW POWER services. that means when the power is low, they will be stopped and will be restarted when the power is back.

you can have a look there. and there should be some info logged. beats me.
-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
Donald Kok
Respected Contributor

Re: cron stops when on battery

Hi,

crond was indeed a low power service. APM kills cron if the battery is low. It should restart cron if power is back on. It does not.

I removed crond from the low power services.

Donald
My systems are 100% Murphy Compliant. Guaranteed!!!
Jerome Henry
Honored Contributor

Re: cron stops when on battery

Why not helping Balaji become a King, then ?... :-)
J
You can lean only on what resists you...