Automated Shutdown Script

James Kosin jkosin at beta.intcomgrp.com
Fri Jul 2 15:42:51 UTC 2004


Michael Marsh wrote:

> Does anyone know how to make fedora shut down automatically at a certain
> time of day with a bash script?
> 
> Thanks in advance
> Michael Marsh
> m at mmm7.com
> 
> 
> 
Michael,

Shutdown is easy...  Don't really need a bash script either.

shutdown -h 13:00:00

should be sufficient to shutdown the computer at 1:00pm.
To get it to do the shutdown every day, add it to the list of tasks run 
by root or put it in the rc.local file (not sure if this will work).

Good Luck,
James Kosin





More information about the users mailing list