[ltp] cron vs. suspend (was: suspend resume works fine for sh ort suspends - fails for longer suspends)

Tino Keitel linux-thinkpad@linux-thinkpad.org
Tue, 6 Apr 2004 17:06:57 +0200


On Tue, Apr 06, 2004 at 09:51:21 -0500, Ivarsson, Torbjorn (T) wrote:
[...]

> > No, you are right. Per definition, during suspend to RAM, the
> > machine is nearly switched off compelely. At least the operating
> > system doesn't run anymore. Only the RAM has power so it doesn't
> > lose its content. On my A30, the little moon light will light up
> > during suspend to RAM.
> 
> So why am I seeing a cron message at 01:00 everyday in my
> /var/log/syslog looking something like this when my laptop has been
> suspended at that time?
> 
>   Apr 5 01:00:00 localhost CROND[6420]: (root) CMD (nice -n 19 run-parts /etc/cron.daily)
> 
> (The example is fabricated, I'm at work right now. I can supply full
> log tomorrow.)
> 
> If cron is not waking up a "apm --suspend" to run its daily task
> (note: cron.hourly is not run), the only other reason I can see would
> be that I am not fully suspended.

Yet, it seems so. Is the moon light (located to the right of the
battery and power light) on after your TP goes to suspend?

> 
> If the OS doesn't run anymore, that means that the only way to wake
> up the computer is by some external action (open lid, press button,
> etc.), right?

Yes, you are right.

Regards,
Tino