Shutdown Timer Apple Script January 4, 2009Posted by Steven in In-Media.
Tags: OS X, Tweaks
Again some software does not shut down Mac OS X properly. Fortunately there is a built in systematic that facilitates the shutdown properly:
- Open “Script Editor”
- Paste the script Source Code
- Save as format: “Application Bundle”
tell application "Finder"
The units are in seconds. Here are some examples:
30 minutes: 1800
60 minutes: 3600
90 minutes: 5400
There is also a terminal command that will execute the same functionality:
sudo shutdown -h +60
osascript -e 'tell application "System Events" to shut down'
This will shutdown the system.
Further information can be found here: Apfeltalk.