上一篇 下一篇 分享链接 返回 返回顶部

Centos7.6如何设置定时重启

发布人:管理员 发布时间:2025-03-02 17:50 阅读量:130

Centos7.6如何设置定时重启

1.编辑配置

vi /etc/crontab

2.设置重启时段

3.装载

crontab /etc/crontab

4.重启定时帮助

systemctl enable crond.service #开启启动

systemctl restart crond.service #重启帮助

目录结构
全文