PDA

View Full Version : Help: App or Script To Force Unattended Shutdown




alfista
Jan 8, 2008, 07:28 AM
Hi All,

I need a script that will log off all users and shutdown a mac running leopard that can be executed when there is nobody in front of the keyboard, but not always at a exact time of day.

Would prefer an executable, but a bash script (I'm not sure how to put a password into a sudo command into it).

Thanks in advance!

Jason



alfista
Jan 17, 2008, 11:55 AM
bump, anyone?

GimmeSlack12
Jan 17, 2008, 12:00 PM
Hahaha, an executable. Noob.
Anyway what do you mean by not always at the same time of day? How would you define what time of the day? Are you familiar with SSH? You could remotely log into your Mac and use the 'shutdown' terminal command to turn off the machine.

Otherwise have you even looked for an app? I don't know any off the top of my head but I'm sure there are plenty out there.
http://versiontracker.com/php/qs.php?mode=basic&action=search&str=shutdown&srchArea=macosx&submit=Go

EDIT: And don't 'bump' threads. That's really lame.