AdamSulek / timelogs

0 stars 1 forks source link

[task] running cronjobs on container #40

Open AdamSulek opened 3 years ago

AdamSulek commented 3 years ago

in Dockerfile copy cronjob file: COPY docker/crontab.txt .

run crontab file: RUN crontab crontab.txt CMD ["cron", "-f"] docker/crontab.txt .