View Full Version : Automatic/schedule to shutdown fedora
I want to ask how to shutdown automatically in fedora.
Perhaps someone answer my question, i'm getting tired to shutdown my fileserver in routine everyday :(
oracleguy
04-26-2010, 04:27 PM
You could use a cron job to do it and just have one command: poweroff. Have you done anything with cron before?
But it will shut it off regardless of if anyone is using the machine.
Spookster
04-26-2010, 10:33 PM
Assuming your purpose for shutting down the fileserver is to make your filesharing unavailable during specific times then why don't you just shut down those services with the cron job instead of shutting down the machine?
Hm i just need to shut down the machine, i know with the cron but what is the command for it for specifically date, month and time for shut it down.
@Spookster: I have 10 fileserver but the one is the oldest among the others fileserver machine better i shut this one before the machine is broken xD
Spookster
04-27-2010, 03:14 PM
Shut it down before it is broken? Why is the machine going to break if you don't shut it down everyday? That doesn't make any sense.
because the cooler fan sometimes not worked. The fan is crappy I'm already changed 2 times every 3 days ~_~ that's why i wont make it broken the motherboard cause the temperature is too high.
sorry if my english bad because english isn't my local languages.
so the answer for my question is?
oracleguy
04-27-2010, 06:33 PM
For the short term, you can use cron. If you google around you can find tutorials on the crontab file.
For the long term, don't buy cheap cooling fans.
what is the comand for the cron then?I'm already googling but don't understand what is that meant for exactly
lol oracleguy
primefalcon
04-28-2010, 05:46 AM
what is the comand for the cron then?I'm already googling but don't understand what is that meant for exactly
lol oracleguy
cron commands are the same as the shell commands
open a terminal and type man shutdown
cron commands are the same as the shell commands
open a terminal and type man shutdown
I know for that zzz i wanted to know the comands like every friday on 4am shutdown i want that as cron comand.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.