Skip navigation

Automatic routine maintenance

1899 Views 7 Replies Latest reply: Sep 22, 2012 10:34 AM by ronenhaim RSS
ronenhaim Level 1 Level 1 (10 points)
Currently Being Moderated
Sep 21, 2012 1:23 PM

Does OS X 10.8 make an automatic routine maintenance ( at night ) ?

If so , what it does ?

 

If I configure the Hard Drive to sleep when available , Does it "wakes up" ?

 

Is the routine maintenance available on Sleep mode ?  or do I need to leave my iMac ON ?

 

Thanks

iMac, OS X Mountain Lion, 10.8.2
  • John Galt Level 7 Level 7 (33,080 points)
    Currently Being Moderated
    Sep 21, 2012 1:29 PM (in response to ronenhaim)

    Your iMac will work best if you just ignore it. There is no need to shut it down unless you want to unplug it or don't intend to use it for days. Power consumption in sleep mode is negligible.

     

    Its routine maintenance is completely automated.

     

    Set your Energy Saver preferences to let it sleep after an appropriate idle time, and when you aren't using your Mac just walk away from it.

     

    Really.

     

    Mac OS X: About background maintenance tasks

    MacBooks  iMacs  iPods  AirPorts, OS X Mountain Lion,  27 years Apple!
  • John Galt Level 7 Level 7 (33,080 points)
    Currently Being Moderated
    Sep 21, 2012 7:36 PM (in response to ronenhaim)

    If you examine the Console logs you may see that your iMac wakes up from time to time, but I believe that only happens if you set "Wake for network access" in System Preferences > Energy Saver. It may perform any required maintenance tasks at those times.

     

    The Mac performs daily, weekly, and monthly routine housekeeping tasks, among which is to archive old logs and cache files. Any overdue tasks are accomplished when the system wakes from sleep or starts from a cold boot.

     

    A long time ago - several versions of OS X, way back to Tiger at least - these tasks were scheduled to occur at fixed times during the night. If your Mac was asleep or off during those times, the tasks would not be completed and the log files would grow large. This gave rise to a number of "cleanup" utilities that were intended to substitute for tasks the Mac did not do when it was supposed to them. Such utilities have been unnecessary for years, yet the myth of having to maintain your Mac persists to this day.

     

    The Console app is in your Utilities folder, and is the place to examine the extensive logs on everything the Mac does.

     

    If you are not opposed to the idea, you can permit Apple to collect these logs for diagnostic purposes:

     

    Screen Shot 2012-09-21 at 10.20.26 PM.png

     

    These log files do not occupy much space but the system deletes them when they're a few weeks old - it is also aware of impending disk space constraints and will accelerate deletion if necessary.

    MacBooks  iMacs  iPods  AirPorts, OS X Mountain Lion,  27 years Apple!
  • macjack Level 9 Level 9 (50,445 points)
    Currently Being Moderated
    Sep 21, 2012 7:34 PM (in response to ronenhaim)

    Launch Terminal and copy & paste this command at the prompt...

    ls -al /var/log/*.out

    Press return. The results will tell when you last ran the daily, the weekly and the monthly maintainance scripts.

  • macjack Level 9 Level 9 (50,445 points)
    Currently Being Moderated
    Sep 22, 2012 7:07 AM (in response to ronenhaim)

    The daily and weekly ran this morning on schedule.

    The monthly ran on the 1st on schedule.

     

    It may interest you to know that these routines (called cron scrips)  are one of the oldest remnants of UNIX. They were originally written to automatically clear the large logs in the UNIX servers, they were set to run in the wee hours, around 2:30 AM because that was when there was the least traffic on the server.

     

    I've never seen a Mac go down due to bloated periodics, whether the scripts were running or not

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.