Re: Automated Shutdown Script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2 Jul 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@xxxxxxxx

Here's one way.  Say you want to shutdown at 9:00 PM every day.  Do the 
following as root:

   # crontab -e
   0 21 * * * /sbin/shutdown -h now

Also check out "man 5 crontab" for more info...

-- Mike




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux