- 최신
- 최다 투표
- 가장 많은 댓글
Hello,
Thank you for your post. I launched a test instance using the al2022-ami-2022.0.20220419.0-kernel-5.15-x86_64 AMI and verified your report. The cronie package, which provides the crontab command, is not included in this AMI.
# rpm -qa |grep -i cron
crontabs-1.11-24.20190603git.amzn2022.noarch
I also checked the previous version of the AL2022 AMI and confirmed that the cronie package was not present there either. I would suggest you manually install the cronie and cronie-anacron packages that are both available from the amazonlinux repository.
yum install cronie cronie-anacron
Note, you can also make use of user data scripts[1] to install these packages at the time of launching instances.
In the meantime, I have opened an internal ticket with the Amazon Linux team to report that these packages are not included in the AL2022 images.
References:
[1] https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html
관련 콘텐츠
- AWS 공식업데이트됨 2년 전