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 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.

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?


-geoff

______________________________________
Geoff Lee <email@hidden>
Computing Support
School of Arts, Culture and Environment
University of Edinburgh
20 Chambers St,
Edinburgh, Scotland,
EH1 1JZ
Tel: +44 (0)131 650 2341/2281
______________________________________




_______________________________________________ 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>)



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.