mirror of
https://github.com/willfarrell/docker-crontab.git
synced 2025-04-04 14:05:11 +02:00
Fix crond command in Dockerfile
- added logging to docker logs - run with /etc/crontabs dir See also https://unix.stackexchange.com/questions/412805/crond-log-level-meaning
This commit is contained in:
parent
02a89f6dac
commit
e3afe6c3e5
@ -11,4 +11,4 @@ ENTRYPOINT ["/docker-entrypoint"]
|
||||
HEALTHCHECK --interval=5s --timeout=3s \
|
||||
CMD ps aux | grep '[c]rond' || exit 1
|
||||
|
||||
CMD ["crond","-f"]
|
||||
CMD ["crond", "-f", "-d", "0", "-c", "/etc/crontabs"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user