Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

alfista

macrumors member
Original poster
Jun 6, 2007
73
1
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
 
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.