anacron
Scott James Remnant
scott at canonical.com
Sun Nov 14 03:13:21 CST 2004
On Sat, 2004-11-13 at 16:13 -0600, Martin Maney wrote:
> On Thu, Nov 11, 2004 at 10:28:34PM +0000, Scott James Remnant wrote:
> > Some changes to acpi-support to ensure that anacron is stopped when the
> > machine is on battery power, and started on AC power. Basically two
> > lines to /etc/acpi/power.sh
>
> I don't know if starting and stopping anacron like that is a good idea.
> I'd be worried about stopping it while it has one of the batches
> running - dunno if they'll be stopped by that, nor if it's safe if they
> are.
>
They're run in a separate session, same as cron, from what I recall.
> (good for battery saving, certainly, but how many can be killed
> in mid-flight without causing any problems?) Besides, anacron gets
> restarted from cron, no?
>
Only if you're on AC power.
> Better, I think, but more work, if anacron itself were made battery-aware.
>
It is -- but the Debian package only includes the APM side of things, we
need to add the ACPI equivalents.
Scott
--
Scott James Remnant
scott at canonical.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.ubuntu.com/archives/ubuntu-devel/attachments/20041114/96d7ff18/attachment.pgp
More information about the ubuntu-devel
mailing list