Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'a few other methods' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
a few other methods
Authored by: victory on Sep 14, '02 09:28:05PM
Nice hint.
For those who may not be familiar with AppleScript (or don't want to use it), here are two other remote sleep tips (none quite as automatic as patashnik's script, though):
- If you're willing to enable remote shell access, there's a cmd-line app called SleepNow. Do a standard SSH login and run this cmd. It also *may* be possible to assign this cmd as the default shell of a particular account so that you can create a dedicated 'sleep' account much like how traditional Unix systems had captive 'restart' and 'shutdown' accounts.
- Some Mac remote control apps like ARD have a button to put a particular host to sleep. Of course, if you have this level of remote control of a machine in the first place...
BTW, a method I often use to tell whether or a remote machine went to sleep or not is to ping the machine in question from another terminal window or the system 'Network Utility' app. When the pings stop ECHO REPLYing, the host has probably gone to sleep. Since ICMP message handling (that ping uses) exists at a fairly deep level in the OS, it's usually a good indication that the machine has actually gone to bed (versus a server app crashing and becoming unresponsive or something)

[ Reply to This | # ]
a few other methods
Authored by: bluehz on Sep 15, '02 07:32:59AM

A combination of SleepNow and another utility called WakeOnLan - a little cron work on an extra cpu that stays awake all the time and you have yourself the functionaly equivalent of the ol' OS 9 Energy Saver for sleeping/waking machines.

[ Reply to This | # ]