Crontab eddit
This commit is contained in:
parent
bf706e58d8
commit
0d4b2928af
2 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
2
crontab
2
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
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue