Centos7.6如何设置定时重启
技术分享
Centos7.6如何设置定时重启
2025-11-26 21:06
处理过程方法:
1.编辑配置
vi /etc/crontab

2.设置重启时间

3.装载
crontab /etc/crontab

4.重启定时服务
systemctl enable crond.service #开启启动
systemctl restart crond.service #重启服务