Im trying to get a docker container running to mange my cronjobs
im running a very simple cron as a test in a docker container using centOS 6.5 base
In my case, I debug the cron:
$ apt-get install rsyslog $ rsyslogd $ service cron restart $ tail -f /var/log/syslog
And found NUMBER OF HARD LINKS > 1 error in logs.
NUMBER OF HARD LINKS > 1
The solution was to put this in entrypoint.sh
entrypoint.sh
touch /etc/crontab /etc/cron.d/*
and boom!