crontab服务已经启动,定时任务也能添加成功,但是不执行(出现在docker container 内)
解决方案
问题解决
/etc/pam.d/crond
#
# The PAM configuration file for the cron daemon
#
#
# No PAM authentication called, auth modules not needed
account sufficient pam_access.so
account include password-auth
session sufficient pam_loginuid.so
session include password-auth
auth include password-auth
~