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
______________________________________