Centos 7 系统定时重启

crontab -e //系统命令 00 08 * * * root systemctl restart docker00 08 * * * root reboot //写入需要重启的东西 查看是否执行 cd /var/log cat -n cron | tail -n 500
posted @ 2019-03-09 21:51  liubiaos  阅读(2534)  评论(0编辑  收藏  举报