mirror of
https://github.com/willfarrell/docker-crontab.git
synced 2025-04-04 14:05:11 +02:00
Merge pull request #26 from sergey-shambir/docker-cmd-fix
Improve crond command in Dockerfile
This commit is contained in:
commit
b0f5681faf
@ -11,4 +11,4 @@ ENTRYPOINT ["/docker-entrypoint"]
|
|||||||
HEALTHCHECK --interval=5s --timeout=3s \
|
HEALTHCHECK --interval=5s --timeout=3s \
|
||||||
CMD ps aux | grep '[c]rond' || exit 1
|
CMD ps aux | grep '[c]rond' || exit 1
|
||||||
|
|
||||||
CMD ["crond","-f"]
|
CMD ["crond", "-f", "-d", "6", "-c", "/etc/crontabs"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user