This is example code and docker configuation that show how to use cron in alpine os.
- Start container with
docker-compose up
- Look at
src/log.txt
that will be update every 15 minutes. - Use
docker-compose exec cron-php run-parts /etc/periodic/15min
for testing.