Automated Shutdown Script

Peter Cannon peter at cannon-linux.freeserve.co.uk
Fri Jul 2 15:40:43 UTC 2004


On Friday 02 Jul 2004 16:32, 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

Create a script file:
#!/bin/bash
shutdown -t 1700 (or whatever time you want)

Set it up as a root cron job

-- 

Regards

Peter Cannon

peter at cannon-linux.freeserve.co.uk

"There is every excuse for not knowing!"
"But there is no excuse for not asking!"





More information about the fedora-list mailing list