Automatically Restart Debian Server

This HowTo allow us to automatically restart Debian server at midnight everyday. This action perhaps needed for maintenance purpose for our Debian Server.

Type this command:

export EDITOR=vi && crontab -e

Append the following line at the file:

# m h dom mon dow user  command
00 00 * * * /sbin/shutdown -r now

Save this new file and our server should be restart at midnight everyday. If you want deactivate this crontab, just uncomment that line.Good Luck :)

me, sUpricak3p

Share and Enjoy:

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • del.icio.us
  • StumbleUpon
  • Reddit
  • Facebook
  • BlinkList
  • BlogMemes
  • co.mments
  • description
  • Furl
  • Ma.gnolia
  • NewsVine
  • RawSugar
  • Shadows
  • Simpy
  • Slashdot
  • Spurl
  • Technorati
  • YahooMyWeb
  • Google
 

Related Posts


One Response to “Automatically Restart Debian Server”  

  1. a gravatar 1 ashok kushwaha

    i have installed a debian linux server .plz tell me how can i
    1: shut down safely
    2: enable the vdu screen
    3:set atomatically restarting when it goes off.
    4: complete guide for installation of server with proxy squid

Posting Your Comment
Please Wait

Yes, leave a comment here!

There was an error with your comment, please try again.