crontab -e         //系统命令

00 08 * * * root systemctl restart docker
00 08 * * * root reboot //写入需要重启的东西

查看是否执行 cd /var/log

cat -n cron | tail -n 500   

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-05-21
  • 2022-12-23
  • 2022-12-23
  • 2021-11-18
  • 2021-06-20
  • 2022-12-23
猜你喜欢
  • 2021-12-31
  • 2021-05-18
  • 2021-07-08
  • 2022-12-23
  • 2022-12-23
  • 2021-09-21
  • 2021-08-16
相关资源
相似解决方案