Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shut down problems



On Jan 13, 2006, at 2:18 AM, Geoff Lee wrote:


On 12 Jan 2006, at 22:13, Matt Rosenberg wrote:

On Jan 12, 2006, at 1:18 PM, Hank Berthiaume wrote:

How do you get the computers to automatically startup and shut down from the
login screen in OSX?

Use sleep instead? Seriously, I think scheduled shutdown requires that someone be logged into the GUI. There are AppleScripts that literally type a username and password into the login window (you could find one on http://www.macosxhints.com/). I guess you could make a local "shutdown" user that runs another AppleScript, telling the computer to shut down, as a login item.

Or just run "shutdown -h now" with cron.

Geoff! You're ruining my attempt at persuasion by providing a simple solution! :-D


Cron runs the initial script using the 'osascript' command, and you're set.
But sleep's a lot easier. :-D There's a tiny app called SleepNow that lets you sleep from the command line. Stick it on the clients and have cron run it.


If you ask me, sleep is better anyway. It makes remote administration a lot more efficient if machines are always powered on and can be woken remotely.

I find that waking machines remotely works intermittently at best, and not at all across subnets. Have you had success with it?

I don't believe it's supposed to work across subnets. The "magic packet" is sent to your subnet's broadcast address, which presumably insures your routers don't pass it on.


Inside a subnet, it works 99% of the time for me.

Matt


=================================================================================== CONFIDENTIALITY NOTICE: This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to which they are addressed. If you are not the intended recipient, you may not review, copy or distribute this message. If you have received this email in error, please notify the sender immediately and delete the original message. Neither the sender nor the company for which he or she works accepts any liability for any damage caused by any virus transmitted by this email. =================================================================================== _______________________________________________ Do not post admin requests to the list. They will be ignored. Client-management mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/client-management/email@hidden

This email sent to email@hidden
References: 
 >Shut down problems (From: Hank Berthiaume <email@hidden>)
 >Re: Shut down problems (From: Matt Rosenberg <email@hidden>)
 >Re: Shut down problems (From: Geoff Lee <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.