From 0d4b2928af690c735be842364bf2351755a9aff7 Mon Sep 17 00:00:00 2001 From: imnyang Date: Wed, 6 Nov 2024 17:17:09 +0900 Subject: [PATCH] Crontab eddit --- Dockerfile | 1 + crontab | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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