OnyX icon

Execute Maintenance Scripts

OS X includes a task manager (launchd) that automates System cleaning by executing the "periodic" utility. This utility runs three BSD standard scripts which perform many maintenance operations.

To run the Scripts:

1

Open the Maintenance pane, and click the Scripts tab.

2

Select the scripts you want to execute (daily, weekly, and monthly).

3

Click the Execute button.

Note: You can use the Automation pane to run all maintenance scripts at once.


The lower section of "Maintenance > Scripts" pane manages the logs of maintenance scripts (daily.out, weekly.out, and monthly.out files located in the /private/var/log folder). You can show the content, the path, and the size of each log. You can also individually or simultaneously clean the logs.

Note: The Clean and Clean all buttons delete the content of logs but don't delete the files. A Clean disabled button means no log is selected or the selected log doesn't exist (the corresponding scripts that have probably never been executed).