定期(Mac OS X维护脚本)
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了定期(Mac OS X维护脚本)相关的知识,希望对你有一定的参考价值。
"...UNIX systems run scheduled maintenance routines — known as maintenance scripts — to clean up a variety of System logs and temporary files. By default, these are executed between 03:15 and 05:30 hours local time, depending on the script.If your Mac is shut down or in sleep mode during these hours, the maintenance scripts will not run. This results in log files that will grow over time, consuming free space on your Mac OS X startup disk.
If your Mac is shut down or left in sleep mode overnight, you need to invoke these maintenance routines manually on a regular basis. That is, unless you plan on devoting a large portion of your hard drive to the files cleaned-up by these routines!"
sudo periodic daily weekly monthly
以上是关于定期(Mac OS X维护脚本)的主要内容,如果未能解决你的问题,请参考以下文章
Mac OS X Terminal 101:终端使用初级教程