Scheduling a Reboot for your Linux Dedicated Server

Rebooting your dedicated server once in a month is necessary to install updates for the kernel and increasing the performance of the server. Every time you install update or patch for your kernel, you will need to reboot your dedicated server.

It is advisable not to reboot your server instantly after installing the updates. It is always recommended to wait for low usage times if you wish to reboot your server (ie. when the traffic is low on your website).

Assuming that you are having access to the command line, enter the following “at” command as root on your command line interface and hit the “Enter” button of your keyboard:

at 3am sunday

Once you hit the Enter button, the command prompt will open to ask for input. Simply enter “reboot” as shown below:

at> reboot

Lastly, in order to save the settings, press “CTRL+D”.

That’s it ! You server will now reboot at the time you have specified.

It is better to have a server monitoring setup, just in case your dedicated server fails to reboot. If you are having a remote server, it is likely that the clock timezone may differ from your local machine. To make sure about the timings, login into your server via SSH, enter “date” to know the exact time.

The “at” command could be used to schedule any task which you want to run once. In order to know more about the “at” command enter “man at” through your command line interface.

Related posts:

  1. Schedule a Reboot for your Windows Dedicated Server
  2. When do you Need to Reboot your Server ?
  3. How to Generate SSH Key in Linux Dedicated Server ?
  4. How To Use Cat Command on Dedicated Server ?
  5. How to Install Softaculous on Linux Dedicated Server ?


Online 24X7 Chat Support
 
 
Telephone
Toll Free
Online chat
 
Online 24X7 Email Support
 
Emails
 
 
 
Support
Support email
sales
Sales email
 
Billing
Billing email
 
   
Latest Tutorials & Articles (Updated Daily)
http://blog.eukhost.com
  Forums :
http://www.eukhost.com/forums/