try
continuous-integration/drone/push Build is failing Details

master
Enzo 1 year ago
parent 093d732032
commit 543a9d0ad8

@ -23,8 +23,10 @@ RUN chmod 777 /app/crontab
RUN apt-get update && apt-get -y install cron
# Copier le script d'entrée
COPY entrypoint.sh /app/entrypoint.sh
RUN chmod +x /app/entrypoint.sh
#COPY entrypoint.sh /app/entrypoint.sh
#RUN chmod +x /app/entrypoint.sh
RUN crontab /app/crontab.txt
# Définir le point d'entrée de l'image
ENTRYPOINT ["/app/entrypoint.sh"]
ENTRYPOINT ["cron"]

@ -1,3 +1,3 @@
* * * * * root python3 /app/testFinal.py >> /app/cron.log 2>&1
00 08 * * * root python3 /app/generateurModele.py >> /app/cron.log 2>&1
* * * * * python3 /app/testFinal.py >> /app/cron.log 2>&1
00 08 * * * python3 /app/generateurModele.py >> /app/cron.log 2>&1

Loading…
Cancel
Save