< 返回新闻公告列表

Centos7.6如何设置定时重启

发布时间:2022-11-29 15:47:30    来源: 纵横云

Centos7.6如何设置定时重启

1.编辑配置

vi /etc/crontab

Centos7.6如何设置定时重启-683

2.设置重启时间

Centos7.6如何设置定时重启-684

3.装载

crontab /etc/crontab

Centos7.6如何设置定时重启-685

4.重启定时服务

systemctl enable crond.service #开启启动

systemctl restart crond.service #重启服务

19906048601
19906048601 19906048601
返回顶部
返回顶部 返回顶部