36👍
✅
Make sure that you already installed cron
with your Dockerfile
It should be something like
RUN apt-get install -y cron
Source:stackexchange.com