7 Replies Latest reply: Sep 22, 2012 10:34 AM by rony-z
rony-z Level 1 (20 points)

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 ?



iMac, OS X Mountain Lion, 10.8.2
  • John Galt Level 8 (45,978 points)

    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.




    Mac OS X: About background maintenance tasks

  • rony-z Level 1 (20 points)

    Thank you !


    Just to fully understand , on ML 10.8 ,  when the iMac is in a Sleep mode,  NO routine maitenance is made ?


    Thanks again ....

  • John Galt Level 8 (45,978 points)

    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.

  • macjack Level 9 (51,632 points)

    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.

  • rony-z Level 1 (20 points)

    Here is the results :


    Can U advise please :

    Screen Shot 2012-09-22 at 9.17.03 AM.png

    Thank you !



  • macjack Level 9 (51,632 points)

    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

  • rony-z Level 1 (20 points)

    Thank you for your reply !


    Best regards ...