[ale] Automated shutdown

Vernard Martin vernard at cc.gatech.edu
Wed Nov 28 14:40:22 EST 2001


On Wed, 2001-11-28 at 14:07, Eric_Brubakken at aoncons.com wrote:
> 
> 
> What is the best way to shutdown a box automatically.  I have tried to use the
> shutdown command from within a cron job, but it errors out stating 'can not find
> file shutdown'


When using cron to issue commands you have to give the full path name of
the command. For shutdown, it wuld have to be something like
"/sbin/shutdown" so that it can actually execute it. 

hope this helps

V
-- 
Vernard Martin (vernard at cc.gatech.edu)
http://www.cc.gatech.edu/~vernard/     
        "Pain heals. Chicks dig scars. But Glory. Glory lasts forever."

---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list