Trying to run a cron job in a docker container.
HAve a supervisord properly configured
(I see cron -f
in the ps -ef
and if I kill it it respawns)>
You may want to check your crontab syntax; crontab files in places like /etc/crontab
require an extra username field, for example:
* * * * * root echo hi >> /root/test
This is documented (not very prominently) in crontab(5)
:
Jobs in /etc/cron.d/
The jobs in cron.d and /etc/crontab are system jobs, which are used usually for more than one user, thus, additionally the username is needed....