Hello.
I setup crontab inside container in Dockerfile by this way:
RUN cat /home/app/crontab.txt | crontab -u app -
I see my cron tasks inside container by run crontab -u app -l successfully.
But cron does not work until I run crontab -u app -e manually, change nothing, and save it again. After this inexplicable manipulation my crontasks begin to work successfully.
Why? I have my brain broken trying to understand. What's wrong? Please help.
Image version 0.9.22