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 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. > > Paul > > On 9 Nov 2010, at 22:31, Stuart Dunkeld wrote: > > > I suggest doing this every few months: > > > > Open the Terminal app, and type > > > > sudo periodic daily weekly monthly > > > > After you type in your password (which the sudo command requires to act as > > the root user on your behalf) nothing will happen visibly, but inside OSX > > various housekeeping tasks are taking place. Once the operation is complete > > (and it can take a few minutes) you can close Terminal > > > > These tasks are scheduled by the system to take place at odd times of the > > night, as UNIX systems generally used to be on all the time, so as it's not > > so common now for a system to be up at 3.15 AM you have to run them > > manually. > > > > As far as I know there are no risks involved in running these commands. > > > > 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. > -- 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.
