标签:var docker boot dock crontab restart systemctl nbsp emc
crontab -e //系统命令
00 08 * * * root systemctl restart docker
00 08 * * * root reboot //写入需要重启的东西
查看是否执行 cd /var/log
cat -n cron | tail -n 500
标签:var docker boot dock crontab restart systemctl nbsp emc
原文地址:https://www.cnblogs.com/liubiaos/p/10503232.html