docker使用centos7镜像
首先编辑crond,注释#session required pam_loginuid.so:
vi /etc/pam.d/crond
然后重启crond服务:
/etc/init.d/crond restart
标签:容器,crontab,pam,etc,Docker,crond From: https://www.cnblogs.com/hiit/p/16824298.html
docker使用centos7镜像
首先编辑crond,注释#session required pam_loginuid.so:
vi /etc/pam.d/crond
然后重启crond服务:
/etc/init.d/crond restart
标签:容器,crontab,pam,etc,Docker,crond From: https://www.cnblogs.com/hiit/p/16824298.html