Shutdown Timer Apple Script

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"delay 120shut downend tellThe units are in seconds. Here are some examples:30 minutes: 180060 minutes: 360090 minutes: 5400There is also a terminal command that will execute the same functionality:sudo shutdown -h +60orosascript -e 'tell application "System Events" to shut down'This will shutdown the system.Further information can be found here: Apfeltalk.

Previous
Previous

Historic Account

Next
Next

How to read and write to external Drives (NTFS formatted) Platform: MacOS X