crontab 不執行解決方案

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
~

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章