• 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: Jake Pietrykowski <email@hidden>
  • Date: Thu, 17 Feb 2005 13:23:02 -0600

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


 _______________________________________________
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

  • Follow-Ups:
    • Re: Establishing a "shutdown" script?
      • From: Brian Johnson <email@hidden>
References: 
 >Establishing a "shutdown" script? (From: Brian Johnson <email@hidden>)

  • Prev by Date: Re: (no subject)
  • Next by Date: Re: Prompts in ARD
  • Previous by thread: Establishing a "shutdown" script?
  • Next by thread: Re: Establishing a "shutdown" script?
  • Index(es):
    • Date
    • Thread