Crontab eddit

This commit is contained in:
imnyang 2024-11-06 17:17:09 +09:00
commit 0d4b2928af
2 changed files with 2 additions and 1 deletions

View file

@ -8,6 +8,7 @@ RUN apt update && apt -y install cron
COPY crontab /etc/cron.d/crontab COPY crontab /etc/cron.d/crontab
RUN chmod 0644 /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 RUN /usr/bin/crontab /etc/cron.d/crontab
# Setup Environment Variables # Setup Environment Variables

View file

@ -1,2 +1,2 @@
0 22 * * * /usr/bin/bash /root/isangjeong.today/run.sh 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 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