Hi Stuart - It seems that the caveat only applies to people who regularly restart their Mac. I don't know about you but I probably only reboot about once a month - I just put my Mac to sleep at night. ls -al /var/log/*.out seems to show that my periodic scripts have all run recently:
$ ls -al /var/log/*.out -rw-r--r-- 1 root wheel 323622 10 Nov 07:08 /var/log/daily.out -rw-r--r-- 1 root wheel 996 1 Nov 08:25 /var/log/monthly.out -rw-r--r-- 1 root wheel 4076 6 Nov 17:47 /var/log/weekly.out $ Regards, Paul On 10 Nov 2010, at 00:14, Stuart Dunkeld wrote: > Hi Paul > > On Tue, Nov 9, 2010 at 11:35 PM, Paul Russell <[email protected]> wrote: >> I don't think this has been necessary since around OS X 10.3 - >> these periodic tasks now get automatically deferred until the next time the >> Mac is woken up. > > Some disagree - eg http://www.thexlab.com/faqs/maintscripts.html > > "How the timer used by launchd handles sleep time has led many to > incorrectly believe that they no longer need to run the maintenance > scripts and that the scripts are run automatically if the Mac was > asleep or shutdown at the scheduled time. > > While it may appear that launchd executes the maintenance scripts "on > the fly" if the computer is asleep or shutdown at the appointed time, > this is a side effect of how the timer treats the time the computer > has spent in sleep mode. 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. > > If you regularly restart your Mac and the computer regularly sleeps or > is shut down at the scheduled times, it's possible that the scripts > will never run, hence one should still run them manually, such as on a > weekly basis." > > What does ls -al /var/log/*.out return for you? > > Regards > > Stuart > -- You received this message because you are subscribed to the Google Groups "Sussex Mac User Group" group. To post to this group, send an email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/smug?hl=en-GB.
