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

Did someone mention the word 'Kyoto'??!

--
*********************************************************************
David Riddle, Senior Micro Officer (Macintosh Systems)
Goldsmiths College London
New Cross, London SE14 6NW, UK

LIST owner, MAC-SUPPORTERS, MACOS-X, M-L-C, ITSUPPORT, WEB-SUPPORT, UK-SCHOOLS

Tel: 020 7919 7546 Fax: 020 7919 7556
Mobile: 07966 472340 e-Mail: email@hidden
*********************************************************************
_______________________________________________
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.