diff --git a/Dockerfile b/Dockerfile index 36b40f8..3d8bd01 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,7 @@ RUN apt update && apt -y install cron COPY crontab /etc/cron.d/crontab RUN chmod 0644 /etc/cron.d/crontab +RUN echo "" >> /etc/cron.d/crontab # Ensure newline at end of file RUN /usr/bin/crontab /etc/cron.d/crontab # Setup Environment Variables diff --git a/crontab b/crontab index a797853..13b5fda 100644 --- a/crontab +++ b/crontab @@ -1,2 +1,2 @@ 0 22 * * * /usr/bin/bash /root/isangjeong.today/run.sh -5 4 * */2 6 /root/isangjeong.today/venv/bin/python3 /root/isangjeong.today/library/init-auth.py > /root/isangjeong.today/temp/auth-$(date +%Y%m%d-%H%M%S).log 2>&1 \ No newline at end of file +5 4 * */2 6 /root/isangjeong.today/venv/bin/python3 /root/isangjeong.today/library/init-auth.py > /root/isangjeong.today/temp/auth-$(date +%Y%m%d-%H%M%S).log 2>&1