docker 实现crontab
以debian bullseye 为例DockerFileRUN apt-get update \ && apt-get install -y cron COPY ./crontab /var/spool/cron/crontabs/root RUN chmod 0644 /var/spool/cron/crontabs/root RUN crontab /var/sp
以debian bullseye 为例DockerFileRUN apt-get update \ && apt-get install -y cron COPY ./crontab /var/spool/cron/crontabs/root RUN chmod 0644 /var/spool/cron/crontabs/root RUN crontab /var/sp