Home:ALL Converter>How to put scheduled restart in CentOS7?

How to put scheduled restart in CentOS7?

Ask Time:2017-01-25T21:15:30         Author:karthikeyan p

Json Formatter

How to create scheduled restart in Centos7, I want to restart my Centos7 server for every day at 4PM

Author:karthikeyan p,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/41852588/how-to-put-scheduled-restart-in-centos7
Vinod Raj P :

Please try the below command. it will restart the computer in the midle of the night.\n\nshutdown -r 0:00\n\nSame can be done adding the below line /etc/crontab\n\n0 0 * * * /sbin/shutdown -r now",
2017-01-30T09:05:24
yy