sagemaker-distribution
sagemaker-distribution copied to clipboard
cron service not running on SM Distribution 1.6.0
SM Distribution 1.6.0 includes cron, but the service is not running.
sagemaker-user@default:~$ service cron status
* cron is not running
It's been a while since this was raised - can anybody confirm if it's still true now on v1.9?
Hi @athewsey, @giuseppeporcelli, It looks like cron service will not start running automatically. To enable and use it, you may run sudo service cron start inside your container. I've verified that for v1.10 image, the cron service is running after executing that command.
(base) sagemaker-user@e20471487fe0:~$ sudo service cron start
* Starting periodic command scheduler cron
(base) sagemaker-user@e20471487fe0:~$ service cron status
* cron is running
Looks like the sample script already added this workaround: https://github.com/aws-samples/sagemaker-studio-apps-lifecycle-config-examples/commit/15f74e903691bba46997371a2e952e63a7c363d2