Love The Way I Work

Automatically Restart Debian Server

in Linux/Tutorial by

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

1 Comment

  1. 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

Leave a Reply

Your email address will not be published.

*

Latest from Linux

Placeholder

Ubuntu Cheat Sheet

FOSSwire have posted a PDF “Ubuntu Cheat Sheet,” covering the basic terminal
Placeholder

Gajim on Ubuntu

Gajim is a free software, instant messaging client for the Jabber (XMPP)
Placeholder

Frozen Bubble on Ubuntu

Frozen Bubble is a free software “Puzzle Bobble” style computer game which
Placeholder

PostgreSQL on Ubuntu Linux

PostgreSQL is a powerful object-relational database management system, provided under a flexible
Go to Top