You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
I physically "docker exec" into the container and installed a cron jobs under "app" user, but it does not seems to work. Wondering if you have come to a conclusion?
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
The text was updated successfully, but these errors were encountered: