厦门服务器租用>云服务器>Centos7.6如何设置定时重启

Centos7.6如何设置定时重启

发布时间:2022/11/24 13:49:32

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 #重启服务


在线客服
微信公众号
免费拨打400-1886560
免费拨打0592-5580190 免费拨打 400-1886560 或 0592-5580190
返回顶部
返回头部 返回顶部