Run "crond" instead of "cron"

This commit is contained in:
2019-12-04 05:45:30 +00:00
committed by Gitea
parent 8081205064
commit d8b0133351

View File

@@ -20,4 +20,4 @@ RUN mkdir -p /etc/cron.d/
RUN echo -e "*/10 * * * * update-dns.sh > /proc/1/fd/1 2>/proc/1/fd/2\n" > /etc/cron.d/dns-cron
RUN crontab /etc/cron.d/dns-cron
CMD ["cron", "-f"]
CMD ["crond", "-f"]