05. Repair disk permissions while screen saver is running
This task repairs disk permissions while screen saver is running.

Original Article(Japanese)

Please note that the author takes no responsibility for any damage caused by the use of those scripts.

(Trigger)
1. Watch Application
Input "ScreenSaverEngine" and select "changes active", not "is launched". The app is located at
/System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/ScreenSaverEngine.app




(Action)
1. Run Shell Script
Input following script.
diskutil repairPermissions /

This script is just a sample. Other maintenance script can be run too.




(Condition)
1. Delay (Optional)
Set "5" "seconds". It's not essential.




2. Interval (Optional)
Set "1" "days". If this condition is not set, the shell script runs every time when the screen saver is activated. With this condition, the shell script should be executed 1 time a day or less.


 

To Top and Map