They run when you reawaken.Aloha everyone,
I have a question - if you put the computer to sleep, the maintenance scripts (daily, weekly, monthly) do not run, correct? I only sleep my display for that reason.
In Tiger, Apple changed the way these Maintenance Scripts are run. They are now controlled by Lanuchd [sic]. Since 10.4.2, if the computer is in sleep mode or off, Lanuchd [sic] will run these scripts at its earliest connivence. No additional work or software required
As stated previously, the way overnight maintenance scripts were handled changed in 10.4 TigerNo, it doesn't. I've gone through that issue before and its one of the reasons I leave my G5 running 24/7.
The X-Lab, Running the Mac OS X Maintenance Scripts, http://www.thexlab.com/faqs/maintscripts.htmlUnder Panther and Jaguar, the schedule is specified in the System crontab file...
Introduced in Tiger, the launchd process invokes each script on a schedule specified in a script-specific property list (.plist file) in the /System/Library/LaunchDaemons directory... The timer used by launchd does not count sleep time. If your Mac is asleep at the scheduled time when a given script is supposed to run, the script may run later that day at a time shifted by the amount of time the Mac was asleep. However, if you restart your Mac before the time-shifted execution time, pending events are lost and the script will not run off-schedule: the next chance for the script to run will be at its regularly scheduled time.
Macworld, Five Mac Maintenance Myths, http://www.macworld.com/article/133684/2008/06/maintenance_intro.htmlif you put your Mac to sleep at night, instead of shutting it down, Leopard is smart enough to run the missed scripts the next time you wake up your computer.
Anacron for MacOS, http://members.cox.net/18james/anacron-tiger.htmlAnacron runs the periodic daily, weekly and monthly tasks on your Mac even if the machine (a laptop, for example) spends much of its time asleep or switched-off. Anacron silently checks when you reboot and every sixty minutes while the computer is running to see if the various periodic scripts are overdue, and runs them if necessary... Note: This version of Anacron will run on MacOS 10.5 (Leopard) but it is not needed, as the Leopard launchd will run skipped jobs when the machine is next awake.
Randy B. Singer, Mac OS X Routine Maintenance, http://www.macattorney.com/ts.html#Anchor-54380You no longer need a utility to run missed maintenance as of OS X 10.5. It will run automatically at the next available opportunity. Actually, this was the case as of OS X 10.4, but a bug kept the maintenance routines from running more than once per restart under OS X 10.4. This was fixed in OS X 10.5