Centos7.6如何設(shè)置定時(shí)重啟
時(shí)間:2024/5/24 11:35:30 來源:米安網(wǎng)絡(luò) 作者:云主機(jī)配置專家 點(diǎn)擊:231次
1.編輯配置
vi /etc/crontab
2.設(shè)置重啟時(shí)間
3.裝載
crontab /etc/crontab
4.重啟定時(shí)服務(wù)
systemctl enable crond.service #開啟啟動(dòng) systemctl restart crond.service #重啟服務(wù)
版權(quán)保護(hù): 本文「Centos7.6如何設(shè)置定時(shí)重啟」由 云主機(jī)配置專家 原創(chuàng),轉(zhuǎn)載請(qǐng)保留鏈接: http://www.iqcg.cn/docs/system/903.html