aaaaaaaaaa

This commit is contained in:
Jan-Ole Hübner 2024-08-17 23:16:14 +02:00
parent 8127f0cb08
commit ad688fbaa5
2 changed files with 2 additions and 1 deletions

View file

@ -12,7 +12,7 @@ ENV PYTHONIOENCODING=utf-8
ADD . /app
RUN echo "*/2 * * * * /app/delay_price.sh >> /var/log/cron.log 2>&1" > /etc/cron.d/get_price
RUN echo -e "SHELL=/bin/bash\n* * * * * root /app/delay_price.sh >> /var/log/cron.log 2>&1" > /etc/cron.d/get_price
RUN chmod 0644 /etc/cron.d/get_price

View file

@ -1,5 +1,6 @@
#!/bin/bash
source /app/env
printenv
sleep 2
python3 /app/get_price.py >> /var/log/cron.log 2>&1