Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'power management?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
power management?
Authored by: radiola on Sep 26, '05 03:03:17PM

I think the concern is that atrun, which actually runs the at jobs, will hit the hard drive every so often (defaulting to five or ten minutes) to check for jobs. If a PowerBook user set their hard drive (but not the processor) to go to sleep after a while, it'd be spun right back up the next time at checked for jobs, regardless of whether there was a job to run or not.

If the whole computer is asleep, then cron jobs and launchd aren't running, so an at job won't wake a sleeping system up.



[ Reply to This | # ]
power management?
Authored by: tw-nym on Oct 25, '05 10:04:50AM

atd relies on cron to run its jobs. cron doesn't cause any "power management" issues because it preloads the table into memory and reloads after updates.

at is a cronjob, which by default is scheduled to run every minute. It scans its directory for jobs that have expired and runs them. With 1 disk hit per minute, the drive will not sleep much which causes problems, especially on laptops.



[ Reply to This | # ]