容器中的cron定時計劃任務不執行日誌
排查一:檢查Container容器是否安裝cron # rpm -qa | grep cron # ls /etc/init.d/ 若沒有安裝,則進行安裝 # yum update -y or apt update -y # yum install cron or apt install cron 安裝完成後並啓動 # systemctl start cron or service cron start or /etc/init.d/cron start 排查二:Container容器安裝了cron,檢查是否啓動 # ps aux | grep cron 若沒有啓動,則執行啓動命令 # systemctl start cron or /etc/init.d/cron start 排查三:查看/var/log/cron目錄對應的日誌 # cd /var/log/cron