Centos7.6如何设置定时重启
处理过程方法:
1.编辑配置
vi /etc/crontab
2.设置重启时间
3.装载
crontab /etc/crontab
4.重启定时服务
systemctl enable crond.service #开启启动
systemctl restart crond.service #重启服务
已经是第一篇啦!
处理过程方法:
1.编辑配置
vi /etc/crontab
2.设置重启时间
3.装载
crontab /etc/crontab
4.重启定时服务
systemctl enable crond.service #开启启动
systemctl restart crond.service #重启服务
已经是第一篇啦!