on laptops, updatedb should check whether on battery before running
Bug #27918 reported by
Albert Cardona
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cron (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
- updatedb: when my laptop is on battery, the last thing I want is for its
energy to be spent unwisely. Running the cron job for the updatedb, which
runs for several minutes consuming lots of chip resources, is a very poor
choice. I have no clue as to whether one can make the updatedb process run if
and only if the laptop is not on battery. The pbbuttons daemon should be
queried for such information.
Sam Morris suggested:
These suggestions should be filed as bug reports on
http://
/etc/cron.
/usr/bin/
Changed in cron: | |
assignee: | martin-bergner → nobody |
To post a comment you must log in.
Cron should (and afaik does) check this before running.