Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Restarting a remote Mac via AppleScript' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Restarting a remote Mac via AppleScript
Authored by: osax on Aug 01, '03 03:55:38PM

"shutdown -r now" will not quit GUI apps gracefully, it simply kills them. The script method is really the way to go if you rely on GUI apps. You could even go one step further and send running apps something like "quit with saving" or "save to desktop; quit" before telling the Finder to restart. Somebody should really write this into the "perfect" AppleScript...

In addition, you should check if you have to stop some services by hand before restarting. FileMaker Server comes to mind, but don't get me started on this subject...



[ Reply to This | # ]