[ale] Automated shutdown

Gene Matthews gene at mmc-inc.com
Wed Nov 28 14:38:05 EST 2001


Well, I have never tried a shutdown in a cron job, but I can't think of 
any reason it wouldn't work.  You will likely have to fully specify the 
path to shutdown.  E.g. /sbin/shutdown, or wherever it resides on your 
system.  I assume you are trying this in root's crontab.

gene


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'
> 
> Thanks
> 
> Eric
> 
> 
> 
> ---
> 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.
> 
> 
> 




---
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