Maintenance Scripts For Mac
Pass all appropriate certification tests for Java SE 7. Include a complete, native Cocoa-based UI Toolkit. Jdk 8 for macos.
Generally, most scripts are written in Script Editor documents. Scripts can also be written in Xcode, but this is typically for scripts that require advanced user interfaces.
Launch Script Editor in
/Applications/Utilities/
.If the script isn’t configured for the correct language, choose the language in the navigation bar.
Tip
If you always use the same language, set it as the default language in the General pane of Script Editor preferences. See General Preferences.
Write your script code in the editing area. Newly written code is uncompiled and formatted as new text.
Click the Compile button () to compile the script and check for syntax errors.
If a syntax error occurs, an alert is displayed.
If the script compiles, code formatting is applied at this time.
Tip
Question: Q: Running Maintenance Scripts for Mac OS 10.5.8 HELP! I am trying to run the maintenance scripts on my laptop for the first time. I go to Terminal type in 'sudo periodic daily weekly monthly' and hit return.
You can change the formatting attributes, such as font and color, of uncompiled and compiled text in the Formatting pane of Script Editor preferences. See Formatting Preferences.