技术分享技术分享

帮助分类
技术分享
文档首页> 技术分享> Centos7.6如何设置定时重启

Centos7.6如何设置定时重启

发布时间:2025-06-06 08:32       

处理过程方法:

1.编辑配置 

vi /etc/crontab

2.设置重启时间

3.装载 

crontab /etc/crontab

4.重启定时服务

systemctl enable crond.service #开启启动

systemctl restart crond.service #重启服务