Re: Shut down computer running 10.1.3
Re: Shut down computer running 10.1.3
- Subject: Re: Shut down computer running 10.1.3
- From: Stefan Seiz <email@hidden>
- Date: Sun, 15 Sep 2002 15:10:08 +0200
On 15.9.2002 3:07 Uhr, Rob Jorgensen <email@hidden> wrote:
>
> Also, I think this will be necessary...
>
>
>
> ignoring application responses
>
> tell application "Finder"
>
> shut down
>
> end tell
>
> end ignoring
>
>
>
> ...otherwise the Finder will wait to see if it has quit before shutting
>
> down, and finding that it hasn't, won't.
>
>
I notice in Jaguar that there's a shutdown command in the System
>
Events dictionary. I wonder if this provides benefits over using the
>
Finder.
Hmm, I like AppleScript too, but for a simple shutdown?
Why not just add a cron entry to /etc/crontab ?
00 11 * * * root /sbin/shutdown -h now
--
<
http://www.StefanSeiz.com>
Spamto: <email@hidden>
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.