docker-alpine icon indicating copy to clipboard operation
docker-alpine copied to clipboard

What happens if a scheduled task cannot be started?

Open 389377616 opened this issue 11 months ago • 2 comments

/var/spool/cron/crontabs/root adds several scheduled tasks, but after the docker container is restarted, the scheduled tasks will not be started.

389377616 avatar Jan 02 '25 16:01 389377616

you need to run crond daemon. the docker image does not start any services at all.

ncopa avatar Jan 08 '25 12:01 ncopa

you need to run crond daemon. the docker image does not start any services at all.

How to automatically start the cron service when the docker container starts.

389377616 avatar Jan 08 '25 13:01 389377616