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


Click here to return to the 'Remote admin helper scripts' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Remote admin helper scripts
Authored by: msk on Nov 09, '04 09:11:19AM

If you ssh in and use softwareupdate why would the Finder be running, using AppleScript to tell the machine to restart is not going to work, I get the message "24:34: execution error: Application isn't running. (-600)"
(tested on OS X 10.3.5)



[ Reply to This | # ]
Remote admin helper scripts
Authored by: j-beda on Aug 02, '06 06:48:00AM
If you ssh in and use softwareupdate why would the Finder be running

You could probably launch it first via the "open" command, but a simpler way to restart is to use the "reboot" command (see "man reboot" for more details.) After a remote software update, if necessary I use "sudo reboot" to restart the system - provided nobody is logged in and/or running any background processes (some of the machines I administer are used for numerical simulations and thus may be acitively working on something even with nobody logged in).

[ Reply to This | # ]