• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Establishing a "shutdown" script?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Establishing a "shutdown" script?


  • Subject: Re: Establishing a "shutdown" script?
  • From: Brian Johnson <email@hidden>
  • Date: Thu, 17 Feb 2005 11:40:02 -0800 (PST)


Right, I could use this in lieu of the GUI Software Update (and it's scheduled checks) (or use my existing 'shutdown mysql' script and run software update by hand) . But, if I don't want all the updates (so I don't have to re-authenticate QTPro, for example) I'll end up writing my own GUI to display and select them. And I'm still exposed to the possibility that I happen to do a restart without thinking deeply about the implications.


  - brian johnson (thinking about a big yellow post-it note reminder...)

On Thu, 17 Feb 2005, Jake Pietrykowski wrote:

do shell script "sudo mysqladmin shutdown" with administrator privileges
do shell script "sudo softwareupdate --install -a" with administrator
privileges
do shell script "sudo shutdown -r now" with administrator privileges

jp

On 2/17/05 12:59 PM, "Brian Johnson" <email@hidden> wrote:

Every time I run Software Update on my web server without properly stopping mysql first I kick myself around the room when it does a restart 'cuz the ISAM tables aren't necessarily safely closed (burned once, often cautious).

Today I found this link

   http://forums.macosxhints.com/archive/index.php/t-14831.html

which suggests that it really isn't possible, but thought I'd ask here for
ideas, suggestions, solutions...

- brian johnson, dept of architecture, university of washington, seattle
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: Establishing a "shutdown" script? (From: Jake Pietrykowski <email@hidden>)

  • Prev by Date: Re: Prompts in ARD
  • Next by Date: Quark 5 'every text' problem
  • Previous by thread: Re: Establishing a "shutdown" script?
  • Next by thread: Re: Getting list of connected users
  • Index(es):
    • Date
    • Thread