标签: cron

1 篇文章

Docker容器添加定时任务
from--https://stackoverflow.com/questions/37015624/how-to-run-a-cron-job-inside-a-docker-container from--https://forums.docker.com/t/how-to-run-a-cron-job-inside-a-container-alpine/7759/8 from--https://stackoverflow.com/questions/37458287/how-to-run-a-cron-job-inside-a-docker-container 这是我运行我的cron容器之一的方法。 Dockerfile: FROM alpine:3.3 ADD crontab.txt /crontab.txt ADD script.…