Can I schedule an automated disk maintenance run?

Hi all,

As I read int the various forums - it is quite important to perform disk maintenance on your Mac every 2 months or so.

In my old windows machine it was possible to tell the OS to run scan disk and defrag automatically.

Is it also possible to tell my Mac to run needed disk maintenance tasks automatically?

If yes, how?

Thank you very much. Roy

MacBook Pro (Retina, 13-inch, Late 2012), OS X Mountain Lion (10.8.2)

Posted on Mar 2, 2013 12:47 PM

Reply
6 replies

Mar 2, 2013 2:32 PM in response to RoyGal80

As the others have pointed out, periodic maintenance is completely unnecessary. Do not fall for any attempts to get you to download software to "clean" or otherwise maintain your Mac! (See The myth of the dirty Mac.)


The only thing you really need to do is repair the hard drive with Disk Utility every now and then, just to make sure that if your hard drive has gotten corrupt at all that it gets fixed. But not very often. I generally just do that right before installing any significant system upgrades or updates. (For example, when 10.8.3 comes out, I will be sure to repair my hard drive right before installing it.)

Mar 2, 2013 3:22 PM in response to RoyGal80

While running cleaning tools is not needed unless there is a problem, the case is slightly different with checking the hard drive for errors. The hard drive may accumulate an odd error or two with use that can go completely unnoticed but which may result in a problem when accessing the files associated with the error. A periodic check of the hard drive's filesystem structure will not hurt a thing and can help uncover potential hidden errors like this.


Unfortunately there is no way to schedule this with Disk Utility, but you can script the system to do so using shell scripts and launch daemons to manage when they run.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Can I schedule an automated disk maintenance run?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.